Conversation
[CITE-132] merging develop to update the branch to latest
|
Can one of the admins verify this patch? |
There was a problem hiding this comment.
why is the job cancelled here?
There was a problem hiding this comment.
this does not only check but also set the task to cancelled
There was a problem hiding this comment.
I think you can just do this in checkIfThreadIsInterrupted and remove the first parameter of the method.
There was a problem hiding this comment.
Actually, now that I'm looking at this again, you will want to cancel the thread within the syncCitations and probably also syncCollections method. They are the long running methods that need to be cancelled if cancellation was requested. Otherwise, if there are 1000 citations to sync it would still go through all of them before cancelling.
|
Make it so, Jenkins. |
|
Jenkins successfully deployed Citesphere to be reviewed! |
|
Not sure why, but the items table for a group is now empty. |
|
Jenkins successfully deployed Citesphere to be reviewed! |
|
|
Jenkins successfully deployed Citesphere to be reviewed! |
|
Make it so, Jenkins. |
|
This doesn't seem to work. I clicked the cancel button but nothing is happening. I just completes the sync. |
Guidelines for Pull Requests
If you haven't yet read our code review guidelines, please do so, You can find them here.
Please confirm the following by adding an x for each item (turn
[ ]into[x]).Please provide a brief description of your ticket
... Put ticket description here and add link to ticket ...
Right now, a job is just marked as cancelled (for jobs that silently failed) but not aborted. The sync processor should check in regular intervals if the current job is still in progress or if it should be cancelled.
https://diging.atlassian.net/browse/CITE-132
Are there any other pull requests that this one depends on?
Here is the previous PR: #212
Anything else the reviewer needs to know?
... describe here ...