Commit graph

112 commits

Author SHA1 Message Date
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
shortcutme e2b6dd37b7
Only announce once per checkTask loop 2017-10-04 17:25:56 +02:00
shortcutme 49d863fa54
Reduce indent by using continue instead of if 2017-10-03 16:04:03 +02:00
shortcutme 6fe5e2b751
Speed up task competition by wait 10*0.1 sec for task finish instead of 1x1sec before start wokring on it 2017-10-03 16:02:49 +02:00
shortcutme 59d45f445a
Always start findOptional if no worker running but there is tasks 2017-10-03 16:01:02 +02:00
shortcutme 09d19da3bc
Always update hashfield for peer during findHash 2017-10-03 15:58:51 +02:00
shortcutme 1036d0e4a0
Allow second peer for same task only if priority is above 10 2017-10-03 15:58:01 +02:00
shortcutme 8ba4201237
More agressive optional file finding 2017-10-03 15:56:58 +02:00
shortcutme 7c69118c2c
Move peer adding to separate function 2017-10-03 15:55:42 +02:00
shortcutme 6238bb7f2d
Multiplexing support for peers (disabled by default) 2017-10-03 15:55:07 +02:00
shortcutme 42ea01dde9
No extra time for larger files task timeout 2017-10-03 15:53:59 +02:00
shortcutme c0b8e802ec
Fix findhash initial delay 2017-10-03 15:53:00 +02:00
shortcutme 43bd8a2d6c
Stop findhash if all task finished during the findhash call 2017-10-03 15:52:37 +02:00
shortcutme e85efe2c64
Restart find optional files algorithm if new task started since running the function 2017-10-03 15:52:04 +02:00
shortcutme 988d169687
Fix asked_peers ignore for optional files 2017-10-03 15:51:17 +02:00
shortcutme 43e6f374fa
Don't increase priority when addTask called again 2017-10-03 15:49:52 +02:00
shortcutme c91011e6ea
Pass file info for addTask call 2017-10-03 15:49:08 +02:00
shortcutme f45c0b2377
Log time taken for optonal file download 2017-10-03 15:48:36 +02:00
shortcutme 9b8eeb6a73
WorkerManager addTask returns task instead of event 2017-10-03 15:47:46 +02:00
shortcutme 43c8dacd70
Catch and log exact verification errors on worker download 2017-06-19 16:10:49 +02:00
shortcutme f773bf3336
Add file_size to request to avoid unnecessary download 2017-06-19 16:10:18 +02:00
shortcutme c5d90ddd19
Start new workers if lots of tasks left 2017-06-19 15:36:07 +02:00
shortcutme f0f32cf25c
Rev2092, Prefer recent peers when starting workers 2017-05-30 01:04:45 +02:00
shortcutme bf042ce7a3
Rev2060, Only boost all.js and all.css priority, really fix download priority test 2017-05-07 21:34:44 +02:00
shortcutme f67cb7b145
Rev2059, Fix download test, boost priority on request by 15, Adjust default priorities 2017-05-07 21:21:26 +02:00
shortcutme 3f772d1e1e
Boost priority for essential files to allow concurrent requests 2017-05-07 18:19:08 +02:00
shortcutme b261dc5dfd
Boost workers after 50 tasks 2017-04-13 16:27:05 +02:00
shortcutme cfb2276ecd
Always try to find new peers for optional files if no workers 2017-04-01 22:32:06 +02:00
shortcutme f55c2659cd
Rev2002, Fix exception on startworkers 2017-03-12 22:14:24 +01:00
shortcutme 9b5f7928bf
Start workers for slow optional file tasks 2017-03-12 17:56:28 +01:00
shortcutme d7496d6fd5
Boost js, css, dbschema and non-user json file priority 2017-03-12 17:55:47 +01:00
shortcutme 909b9da9da
Unnecessary log and comment 2017-03-06 15:30:42 +01:00
shortcutme a2eef70030
Boost priority to first added file to queue 2017-03-02 23:40:08 +01:00
shortcutme 2efb6cf4f1
Connect first to best peers based on ping time 2017-03-02 23:39:52 +01:00
shortcutme fe7a53fb8a
Separate config argument for workers 2017-02-27 00:02:56 +01:00
shortcutme eb30eb90d6
Use more worker on initial sync 2017-02-09 01:52:39 +01:00