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 ?
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 to lock a command without executing it
It would be nice to be able to preventively lock a command, eg
php app/console kaliop:command-lock:lock mycommand:that:does_stuff
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
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
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.