Commit graph

81 commits

Author SHA1 Message Date
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
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
shortcutme
0e83eba6df Don't retry failed peer on optional file search 2016-11-16 11:22:38 +01:00
shortcutme
110885401c Use optionalDownloaded in workermanager 2016-11-07 23:48:11 +01:00
shortcutme
2b7e898781 WorkerManager onCompelte function 2016-11-07 23:47:53 +01:00
shortcutme
2048648b39 Reduce findoptional spam 2016-11-07 23:32:20 +01:00
shortcutme
a3d21f5377 Update if high priority and less than 10 peers for the file 2016-11-07 23:29:53 +01:00
shortcutme
62d092e5ac Update task ids during startFindOptional if new task added 2016-11-07 23:27:42 +01:00
shortcutme
d60785ee33 Ignore parameters for startFindOptional noparallel 2016-11-07 23:26:07 +01:00
shortcutme
fe19bd2fce Faster findOptionalTasks 2016-11-07 23:25:25 +01:00
shortcutme
7951763612 Faster findOptionalHashIds 2016-11-07 23:24:50 +01:00
shortcutme
2ab04deded Move optional files hashfield adding to workermanager for better performance 2016-10-02 14:18:35 +02:00
shortcutme
d778f2a989 Try to find peers for optional files again if workers failed 2016-09-04 18:03:27 +02:00
shortcutme
e9009c5c75 WorkerManager quickfix 2016-08-15 15:59:49 +02:00
shortcutme
954c6bcbc3 Worker number related to connection limit 2016-08-15 13:52:48 +02:00
HelloZeroNet
aa9161a83a Check optional files findhash result every second 2016-05-05 12:11:07 +02:00
HelloZeroNet
23265861c9 Start connected worker first 2016-04-25 02:25:28 +02:00
HelloZeroNet
f83a466919 Reduce cpu usage by calculating filename based priority boost only once 2016-04-06 13:47:00 +02:00
HelloZeroNet
b895ab5778 Fix find more peers to optional files 2016-03-30 22:59:21 +02:00
HelloZeroNet
33430ee67b Force find more peer for optional task after 15sec 2016-03-23 13:05:48 +01:00
Erkan Yilmaz
b5d74eec16 typo: definied -> defined 2016-03-21 09:43:53 +01:00
HelloZeroNet
54f9b49e90 Wait a bit for more tasks before consider site downloaded 2016-03-19 18:09:20 +01:00