Commit Graph

17 Commits

Author SHA1 Message Date
Loporrit
524e412c28 Add DistributionFileServerForceHTTP2 2024-09-06 08:54:45 +00:00
Loporrit
584f5356d7 Allow shards to use cold storage, revise cleanup service 2024-09-06 08:54:38 +00:00
Loporrit
fb0905ef84 check cold storage outside of download task instead 2024-08-30 08:32:55 +00:00
Stanley Dimant
56a257261b allow more time for download tasks in cachedfileprovider 2024-08-27 15:07:19 +00:00
Stanley Dimant
fb22a267ac add central cold storage options for file servers
add access times I guess

access, not write

overwrite times after copying
2024-08-27 15:07:19 +00:00
rootdarkarchon
c06edeebdd fix AnyFilesDownloading 2024-08-27 15:07:18 +00:00
rootdarkarchon
012ae04dce add some more metrics for files downloading from caches 2024-08-27 15:07:18 +00:00
rootdarkarchon
9b9f6cd2f9 some fixes maybe 2024-08-27 15:07:18 +00:00
rootdarkarchon
a42f553648 make cleanup check time configurable, add distribution file server address
handle download errors on shards better

flush filestream

oml
2024-08-27 14:46:36 +00:00
rootdarkarchon
7c6dbafce9 set user agent correctly
add statistics

fix bug
2024-08-27 14:46:34 +00:00
rootdarkarchon
d54d793575 refactor file server 2024-08-27 14:31:41 +00:00
rootdarkarchon
566634776b clean up downloads on shards 2024-08-27 13:41:08 +00:00
rootdarkarchon
aa03d400d4 - reload configs on change
- remove grpc config service replace with http
- add messaging to channel
2023-02-25 12:20:59 +01:00
rootdarkarchon
ca16b08a2f Server rework for API change and paradigm shift (#23)
* start with group permissions implementation

* some minor refactoring

* adjust hub for api changes

* fixes and database migration

* fixes sending online/offline message to clients stuff

* remove admin stuff from server

* fixes get server permissions

* send group pair info to client on joining a group

* send online only on sending connection dto

---------

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-01-29 15:15:02 +01:00
rootdarkarchon
9b4e298b66 refactor server auth on files server, add checking request queue 2023-01-18 10:20:24 +01:00
rootdarkarchon
c1f329c233 fixes for server auth 2023-01-11 14:31:33 +01:00
rootdarkarchon
42b15cb6b7 Add Server-Side Download Queue (#21)
* test add queueing to file service

* further adjustments to download queueing

* add check for whether the request is still in the queue to CheckQueue

* forcefully release slot if download didn't finish in 15s

* actually cancel the delay task

* add metrics and refactor some of the request queue service

* refactor pathing

* reuse httpclient

* add queue request dto to requestfile, enqueue users immediately if a slot is available

* change startup to include all controllers

* update server pathing

* update pathing, again

* several adjustments to auth, banning, jwt server tokens, renaming, authorization

* update api I guess

* adjust automated banning of charaident and reg

* generate jwt on servers for internal authentication

* remove mvcextensions

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-01-11 12:22:22 +01:00