Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many fixes #2

Merged
merged 3 commits into from
Jul 8, 2014
Merged

Many fixes #2

merged 3 commits into from
Jul 8, 2014

Conversation

liveforeverx
Copy link
Contributor

After using it under load, we obtain some bugs:

  • approve queues doesn't handled right
  • under load it crashes

Dmitry Russ and others added 3 commits July 7, 2014 12:20
Test Plan:
1> start(jobs).
2> jobs:add_queue(qwe, approve).
3> [proc_lib:spawn(fun() -> jobs:run(qwe, fun() -> io:format(user, "~p~n", [N]), timer:sleep(10000) end) end) || N <- lists:seq(1, 10000)].

Reviewers: tbreddin, orixmann, vtarasen, akuleshov, aschultz

Reviewed By: aschultz

Differential Revision: https://review.tpip.net/D786
…ive value and crash the whole server

Test Plan: Overload the jobs queue before and after this change

Reviewers: tbreddin, aschultz, vtarasen, akuleshov, hsychla, orixmann

Reviewed By: orixmann

Differential Revision: https://review.tpip.net/D798
Test Plan:
   jobs:add_queue(q1, approve)
   jobs:add_queue(q2, approve)
   jobs:delete_queue(q2)
   jobs:delete_queue(q1)

Reviewers: vtarasen, aschultz, orixmann

Subscribers: aschultz, druss, mkraemer

Differential Revision: https://review.tpip.net/D1527
uwiger added a commit that referenced this pull request Jul 8, 2014
@uwiger uwiger merged commit 93f13c4 into uwiger:master Jul 8, 2014
@uwiger
Copy link
Owner

uwiger commented Jul 8, 2014

Thanks.

@uwiger
Copy link
Owner

uwiger commented Sep 12, 2014

Note that the latest commit to master fixes a bug related to this PR:
The do_send_after/2 function must return a valid timer ref, or undefined.

@liveforeverx
Copy link
Contributor Author

Thanks for information!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants