GithubHelp home page GithubHelp logo

Comments (3)

badmotherbutter avatar badmotherbutter commented on May 27, 2024 1

Perfect thank you! :)

from massivedl.

badmotherbutter avatar badmotherbutter commented on May 27, 2024

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.

dimkouv avatar dimkouv commented on May 27, 2024

@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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.