Commit Graph

147 Commits

Author SHA1 Message Date
Tamas Kocsis b7bc197012 Only try to get more peers for timeout task if site is recently added 2020-09-08 19:26:18 +02:00
shortcutme 6bd49e8aff
Fix killing greenlets gevent exception 2020-06-30 17:04:47 +02:00
shortcutme 6dae187e22
More detailed logging on write error 2020-01-28 16:56:35 +01:00
shortcutme fe739fa848
Log tasks with larger priority 2020-01-04 16:48:56 +01:00
shortcutme 20b0db7ddb
Thread safe task remove in failTask 2019-12-31 12:54:45 +01:00
shortcutme b2e7cbb927
Refactor task adding with less locking 2019-12-31 12:51:52 +01:00
shortcutme 5987274edf
Name task adding lock 2019-12-31 12:50:39 +01:00
shortcutme ba218974c4
Task remove optimization 2019-12-31 12:50:21 +01:00
shortcutme 721d4a22f1
Remove unnecessary log from worker task manager 2019-12-31 12:49:59 +01:00
shortcutme 2c3f1ba7ad
Check if all task are complete on fail task 2019-12-21 02:59:04 +01:00
shortcutme c01245a4e0
Log task fail 2019-12-21 02:58:48 +01:00
shortcutme f119f7d0d2
Use faster and thread safe way to re-sort tasks 2019-12-21 02:58:35 +01:00
shortcutme 62d4edadf6
Fail task if no peer left to try 2019-12-21 02:57:53 +01:00
shortcutme 8bf17d3a69
Add reason for Worker actions 2019-12-21 02:57:25 +01:00
shortcutme 0881e274a9
Log lock waits for task adding in WorkerManager 2019-12-21 02:56:42 +01:00
shortcutme 7ca09ba75b
Fix updating key 0 in WorkerTaskManager 2019-12-21 02:55:22 +01:00
shortcutme c0639fef75
Lock task adding to avoid race condition when getFileInfo switches 2019-12-18 15:23:16 +01:00
shortcutme 4c31aae97b
Refactor worker, fix concurrent write errors 2019-12-17 14:42:33 +01:00
shortcutme b7c6b84826
Don't log killed worker write as error 2019-11-30 02:05:20 +01:00
shortcutme 1c587bde25
Avoid write race on same file 2019-11-30 02:04:59 +01:00
shortcutme 66a950a481
New, much faster worker task sorting 2019-11-25 14:43:28 +01:00
shortcutme 1c607645c7
Track and stop site connected greenlets on delete 2019-11-19 02:07:51 +01:00
shortcutme f4bec3bb4d
Avoid starting new workers on possibly unvalaible file 2019-08-08 14:35:04 +02:00
shortcutme 380c32dee2
Worker stats on stop 2019-04-04 13:27:46 +02:00
shortcutme bfc7e7c33f
Only start worker if there is valid task for it 2019-04-04 13:27:21 +02:00
shortcutme 8594e4ce4a
Add reason for startWorkers 2019-04-04 13:27:06 +02:00
shortcutme 82c55ba038
Rev4003, Fix peer sorting if no ping delay yet 2019-03-16 04:57:59 +01:00
shortcutme 13d1df3cef
Only log worker download status if small ammount of task present 2019-03-15 23:30:34 +01:00
shortcutme 7ffb7db888
Add task statistics logging every 15sec 2019-03-15 23:29:04 +01:00
shortcutme 74366379ba
Only log added task in verbose mode 2019-03-15 23:26:33 +01:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
shortcutme 53a40fa914
Stop worker if the file is not required anymore 2018-09-17 15:32:32 +02:00
shortcutme 86d1d4898a
Remove task on file write error 2018-09-17 15:31:10 +02:00
shortcutme e4af2d5e86
Pick up task that is taken by idle peer 2018-09-17 15:30:48 +02:00
shortcutme 6c610c509f
Rename RemoveGoodFileTasks to RemoveSolvedFileTasks and add result argument 2018-09-17 15:24:44 +02:00
shortcutme e96435378a
Fix typo 2018-03-18 21:27:26 +01:00
shortcutme a548426c39
Formatting 2018-02-12 17:06:36 +01:00
shortcutme 5f851c7880
Maximum 10 findhash in one round 2018-02-12 17:06:18 +01:00
shortcutme f91e264889
Only try peers that is not working currently 2018-02-12 17:05:58 +01:00
shortcutme 9f35efc31d
Revert "Version 0.6.2, Rev3310"
This reverts commit 98c6add637.
2018-02-09 11:39:36 +01:00
shortcutme 98c6add637
Version 0.6.2, Rev3310 2018-02-08 18:16:50 +01:00
shortcutme a265c2a7ca
Pass peer discovery source to addPeer 2018-02-08 17:57:26 +01:00
shortcutme ab2fe909f0
Prefer connected workers 2018-02-08 17:49:40 +01:00
shortcutme 2f74f64d65
Longer timeout for updates and large files before other peers started working on it 2018-01-27 12:24:50 +01:00
shortcutme 53afd97346
Alway start workers for slow tasks 2017-10-26 10:40:41 +02:00
shortcutme 027ee83c6f
Wait 0.1s for new tasks before shut down worker 2017-10-13 01:23:26 +02:00
shortcutme 60af54a17e
Start find optional files if no peers to try 2017-10-13 01:23:09 +02:00
shortcutme f1276beb97
Bump prority for non-user json files 2017-10-04 17:27:01 +02:00
shortcutme 365ba9b5f4
Force start peers for optional files 2017-10-04 17:26:43 +02:00
shortcutme f997a69ebc
Run checkTask for every task 2017-10-04 17:26:21 +02:00