tus-php icon indicating copy to clipboard operation
tus-php copied to clipboard

Possible bug or configuration issue?

Open agbandini opened this issue 2 years ago • 2 comments
trafficstars

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?

agbandini avatar Oct 26 '23 21:10 agbandini

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

agbandini avatar Nov 08 '23 20:11 agbandini

@agbandini I believe Its within the vendor folder, look for /vendor/ankitpokhrel/tus-php/.cache

netomarchiori avatar Jan 31 '24 01:01 netomarchiori

yes. Exactely I found it. Thank you

agbandini avatar Apr 30 '24 09:04 agbandini