Tamas Kocsis
4da89580c1
Don't mark content.json as bad file if update failed
2020-09-18 18:43:54 +02:00
Tamas Kocsis
94765af0f3
Fix not downloaded site delete on startup
2020-09-08 19:28:41 +02:00
Tamas Kocsis
5a226baaa5
Reduce announce number for not recently added sites
2020-09-08 19:28:04 +02:00
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
Tamas Kocsis
0907edb6b1
Remove obsolate auth_key generation
2020-09-04 17:35:48 +02:00
shortcutme
e0bf4dc9ec
Skip announcing to trackers with unsupported address
2020-03-02 17:08:43 +01:00
shortcutme
f0a706f6ab
Rev4455, Fix new sites file downloading
2020-02-21 13:58:11 +01:00
shortcutme
ae9a76a6c9
Fix double sites.json loading on startup when adding missing sites
2020-02-20 17:27:31 +01:00
shortcutme
9b85d8638d
Don't allow run site api calls when site is deleting
2020-02-20 17:25:56 +01:00
shortcutme
d2627f36d5
Pass all arguments on site need
2020-02-13 17:23:37 +01:00
shortcutme
8e79a7da63
Fix incomplete loading of dbschema.json
2020-02-07 16:37:37 +01:00
shortcutme
a9368bb3c8
Don't allow parallel sites.json loading
2020-01-22 16:35:40 +01:00
shortcutme
c6b07f1294
Wait until checkmodification spawned pools are finishing
2019-12-21 03:04:36 +01:00
shortcutme
3ccce46314
Wait until downloadContent pool finishes
2019-12-21 03:03:49 +01:00
shortcutme
7c1da5da52
Abilty to disable file bad file retry at end of download
2019-12-21 03:03:32 +01:00
shortcutme
c5de1447c8
onComplete will be triggered by WorkerManager
2019-12-21 03:02:53 +01:00
shortcutme
e16ace433c
Better logging in site download content
2019-12-21 03:02:36 +01:00
shortcutme
f3665b172f
Avoid unnecessary pool call
2019-12-17 15:07:32 +01:00
shortcutme
23b3cd3986
Better rebuild log message
2019-12-17 15:07:00 +01:00
shortcutme
f7ee6744af
Db busy event waited in getDb
2019-12-17 15:06:36 +01:00
shortcutme
ac45217816
Add reason for db close and rebuilds
2019-12-17 15:05:59 +01:00
shortcutme
8c51e81a0b
Fix double opening of dbs
2019-12-17 15:05:21 +01:00
shortcutme
c1df78b97f
Name threadpools
2019-12-17 14:43:33 +01:00
shortcutme
10c1986c54
Fix site list changing during listing
2019-12-17 14:31:55 +01:00
shortcutme
d7cabb47ca
Log task numbers on content.json start
2019-12-17 14:31:41 +01:00
shortcutme
8de1714f08
Fix onComplete call when donwload end
2019-12-17 14:31:12 +01:00
shortcutme
20ba9cd589
Log site download time
2019-12-17 14:30:29 +01:00
shortcutme
af1ac9bce8
Try to find already running task for file before start a new one
2019-12-17 14:30:14 +01:00
shortcutme
31a6e3ee9a
Don't allow clone to run in parallel
2019-12-17 14:29:48 +01:00
shortcutme
8ed7d0385d
If possible use loaded db to get db file inner_path
2019-12-17 14:21:47 +01:00
shortcutme
02d45e9c39
Use separate threadpool for batch site storage operations
2019-12-17 14:20:49 +01:00
shortcutme
2a402a0674
Use thread-safe mode to create directories
2019-12-17 14:18:54 +01:00
shortcutme
04ecb89e9a
Avoid sending too many publish request to an outdated client
2019-12-04 17:15:42 +01:00
shortcutme
f0c10efca6
Progress meter for site delete
2019-11-30 02:08:29 +01:00
shortcutme
afd23849a6
Log site delete as info
2019-11-27 03:04:49 +01:00
shortcutme
5df5e25d68
Better logging of recent peers
2019-11-25 14:49:40 +01:00
shortcutme
07633ba79d
Fix local peers dropping out from recent peers
2019-11-25 14:33:18 +01:00
shortcutme
9299e5b614
Kill greenlets with notify
2019-11-20 14:07:33 +01:00
shortcutme
58214c0ac3
Move file writes and reads to separate thread
2019-11-19 02:16:20 +01:00
shortcutme
57f2a43864
Formatting
2019-11-19 02:11:19 +01:00
shortcutme
74d7fb7835
Less verbose logging in site storage
2019-11-19 02:10:42 +01:00
shortcutme
dd61429e2f
Handle announcer thread killing properly
2019-11-19 02:09:55 +01:00
shortcutme
1c607645c7
Track and stop site connected greenlets on delete
2019-11-19 02:07:51 +01:00
shortcutme
0ff1bcfd19
Remove not used variable and module import
2019-11-19 01:40:00 +01:00
shortcutme
924a61309a
Cached isDomain / resolveDomain functions
2019-10-06 03:18:14 +02:00
shortcutme
6eb79ba75e
Don't annunce site if not serving
2019-10-06 03:08:54 +02:00
shortcutme
b21b885aa9
Move site add to separate function
2019-09-28 17:01:37 +02:00
Lola Dam
0738964e64
Save content.json of site even if limit size is reached ( #2114 )
...
* fix #2107 ; Still save the content.json received even if site size limit is reached but dont download files; Allow better distribution of latest version of content.json
* Added test
* Fix test for huge content file (now it fails)
* Dont download huge content.json file and update test
* Remove comments
2019-09-10 18:18:21 +02:00
shortcutme
8a7ae368d8
No opened services if we are in tor always mode
2019-08-23 03:40:20 +02:00
shortcutme
2bdd073608
Move resolveDomain to SiteManager for easier resolver plugins
2019-08-15 03:05:29 +02:00