ankitpokhrel / tus-php

🚀 A pure PHP server and client for the tus resumable upload protocol v1.0.0

Home Page:https://tus.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible bug or configuration issue?

agbandini opened this issue · comments

Note: Please report any security issues directly to hello [at] ankit.pl

Describe the bug
I am using this library with Uppy for uploading large files. After a few days of usage (it's heavily utilized, and the server receives many requests per day), the response times of the tus server endpoint have increased by several seconds for each request, and this happens even when there is no server traffic. My question is whether the library uses a cache or sessions that need optimization?

I return on this topic because I think that probably to solve this problem is necessary to clean the unfinished uploads directory. I see in the project page that is present the command ./vendor/bin/tus tus:expired to do this. But I want to ask: someone can tell me the cache phisical path for a server setted with the 'file' cache adpter? I need to know that. Please, need help!! thank you