Comments (3)
Perfect thank you! :)
from massivedl.
Hi @dimkouv!
If you don't mind I'll try to complete this enhancement.
My understanding is that you want an additional command line parameter which defines the delay between each request start time.
e.g. massivedl_darwin_amd64 -i examples/list-of-photos.csv -D 1.5
Request1 will start at T1
Request2 will start at T1+1.5s (aka T2)
Request3 will start at T2+1.5s (aka T3)
Is is correct?
Thank you
from massivedl.
@badmotherbutter thank you!
Correct but when you're having parallel requests (2 for example) then
req1 @ t1
req2 @ t1
req3 @ t1 + d
req4 @ t1 + d
You can parse the cmdline param -d
and call time.Sleep on every request.
-- p.s. You can also update Makefile
for your mac's architecture ^_^
from massivedl.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from massivedl.