Giter VIP home page Giter VIP logo

kaliop-lock-command-bundle's People

Contributors

bonepain avatar gggeek avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

gggeek

kaliop-lock-command-bundle's Issues

improve naming: move from 'lock' to 'concurrency-lock'

"Lock" is a generic term and can mean many things in the context of executing a console command.

What this bundle is really doing is really "preventing concurrent execution".

Maybe we could find a better, short term to define the concept ?

handling crashed commands

If a command crashes, my gut feeling is that it will stay locked forever.
it would be nice to have an 'unlock' command to allow removing the locks.
Even better: to have a cronjob that automatically removes locks that are older than X days/hours

Failed to update, invalid composer.json data

[Composer\Repository\InvalidRepositoryException]: Some branches contained invalid data and were discarded, it is advised to review the log and fix any issues present in branches

Reading composer.json of kaliop/lock-command-bundle (master)
Skipped branch master, Invalid package information:
extra.branch-alias.dev-master : the target branch (master) must end in -dev

Allow locks to be stored outside of filesystem

In the scenario where one executes commands on multiple, separate servers, locking via filesystem can be not effective.

To allow locking commands across all servers, a shared-lock implementation is required.

Simfony provides this via the Lock component, which is available since version 3.4, so it makes a good candidate for replacing the LockHandler.

Moreover, LockHandler is deprecated and then removed in Sf 4

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.