issues
search
wildhart
/
meteor.jobs
A simple job scheduler for Meteor.js
MIT License
18
stars
9
forks
source link
Potential for a job to be executed on two servers simultaneously
#2
Closed
wildhart
closed
5 years ago
wildhart
commented
5 years ago
Consider the situation
Server A is about to just about to or is currently executing
"anyJob"
.
At that precise moment Server B reacts to a client interaction and schedules a new job in the future.
Server B will immediately take control, find the next job (which will still be
"anyJob"
) and execute it as well.
See
here
for a potential fix.
Consider the situation
"anyJob"
."anyJob"
) and execute it as well.See here for a potential fix.