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

Add a new scheduler parameter for control pending jobs size #24

Merged
merged 2 commits into from
Mar 10, 2018
Merged

Add a new scheduler parameter for control pending jobs size #24

merged 2 commits into from
Mar 10, 2018

Conversation

ebeseda
Copy link
Contributor

@ebeseda ebeseda commented Dec 21, 2017

Fixing #19

Changed self._pending Scheduler field type from deque to asyncio.Queue which has built-in size control and allows to add and retrieve items in both async and sync ways.

@ebeseda
Copy link
Contributor Author

ebeseda commented Dec 21, 2017

No merge. Need to update docs after PR approval. Review only please.

@codecov
Copy link

codecov bot commented Dec 21, 2017

Codecov Report

Merging #24 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #24   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           4      4           
  Lines         221    224    +3     
=====================================
+ Hits          221    224    +3
Impacted Files Coverage Δ
aiojobs/__init__.py 100% <ø> (ø) ⬆️
aiojobs/_scheduler.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3c8e688...3005c1f. Read the comment docs.

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