-
-
Couldn't load subscription status.
- Fork 4.6k
Open
Description
ToDo
- remove support for old chunking v1 in Desktop
If a request is authenticated and does not use cookies, it will always set up the filesystem.
The reason is the post-login gc we do:
Lines 815 to 831 in e6d9ef2
| try { | |
| $cache = new \OC\Cache\File(); | |
| $cache->gc(); | |
| } catch (\OC\ServerNotAvailableException $e) { | |
| // not a GC exception, pass it on | |
| throw $e; | |
| } catch (\OC\ForbiddenException $e) { | |
| // filesystem blocked for this request, ignore | |
| } catch (\Exception $e) { | |
| // a GC exception should not prevent users from using OC, | |
| // so log the exception | |
| \OC::$server->getLogger()->logException($e, [ | |
| 'message' => 'Exception when running cache gc.', | |
| 'level' => ILogger::WARN, | |
| 'app' => 'core', | |
| ]); | |
| } |
I think it is time to move that to a proper cron job instead. It would potentially clean up chunked upload attempts but there is no need to do this with every successful login?!
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
📄 To do (~10 entries)