-
Notifications
You must be signed in to change notification settings - Fork 572
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
implement job persistance #359
Conversation
Codecov Report
@@ Coverage Diff @@
## master #359 +/- ##
==========================================
+ Coverage 68.66% 71.32% +2.65%
==========================================
Files 17 18 +1
Lines 868 952 +84
Branches 104 113 +9
==========================================
+ Hits 596 679 +83
Misses 241 241
- Partials 31 32 +1
Continue to review full report at Codecov.
|
Anyone to take a first look? @Digenis? |
a675326
to
e0b79aa
Compare
Hi @Digenis, |
Not an expert on python but it looks good to me. I will take this as an example for doing similar thing with the Queue so we can have different backends for queueing jobs |
Hope this feature will be merged someday. |
Would be awesome to have this feature |
I added the 1.3 milestone although I haven't estimated the time to review yet. I see there is merge conflict but an easy to resolve. You'll probably want to rebase on master after #398 to get a working CI. |
@mxdev88 you can now rebase on master. |
Hi @Digenis should be ok to merge now. thks |
c673838
to
9241bdc
Compare
When can this feature be released? |
This looks really useful, there are unit tests, can you merge recent master branch here and rebuild? edit: it is in docs already sorry, https://scrapyd.readthedocs.io/en/latest/config.html#finished-to-keep |
|
||
A class that stores finished jobs. There are 2 implementations provided: | ||
|
||
* ``MemoryJobStorage`` (default) jobs are stored and memory and lost when the daemon is restarted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default is actually:
scrapyd.jobstorage.MemoryJobStorage
let's put full names here:
scrapyd.jobstorage.MemoryJobStorage
and scrapyd.jobstorage.SqliteJobStorage
I integrated with current master and fixed docs here:#418 |
related PR merged, commit in master now |
Hello,
Could someone pls review this PR about #12?
Thank you