Code Monkey home page Code Monkey logo

Comments (3)

sujen1412 avatar sujen1412 commented on September 25, 2024

@wmburke @giuseppetotaro, by default we plan to provide crawling in batches of 10 iterations at a time (with 12 groups in one iteration) before the script would detect a CTRL+C.

This means that if a user presses CTRL+C while iteration 1 is going on, the script would complete all remaining and safely exit, not killing any crawls mid way. But this may mean the user would have to wait for longer. To reduce wait times we could decrease the number for 10 to something smaller.
Note : reducing to something smaller incurs an overhead of starting sparkler everytime (reserving JVM resources and spark, etc)

from sce.

wmburke avatar wmburke commented on September 25, 2024

from sce.

giuseppetotaro avatar giuseppetotaro commented on September 25, 2024

Closed by commit c8fc460 so that when CRTL-C is hit the user can force to stop the crawl job instead of waiting the job ends gracefully.
Furthermore, the user can now use the kill sub-command (e.g., ./sce.sh kill) to force the stop of a running crawl job (commit 61b0141).

from sce.

Related Issues (20)

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.