Hi guys,
I’m using TUS in directus 11.17.4 for uploading big size files to directus server. I already using this .env:
TUS_UPLOAD_EXPIRATION=864000000 or 24h, it didn’t work at all. It always cut off in 10m exactly, no matter if there is still going activities.
I checked on node_modules/@directus/api/dist/services/tus/server.js there is no expiration time detected? So i tried to change line 36 to this one:
const server = new Server({
path: "/files/tus",
datastore: await createTusStore(context),
locker: getTusLocker(),
expirationPeriod: 86400000, // i added this
...FILE_UPLOADS.MAX_SIZE !== null && { maxSize: FILE_UPLOADS.MAX_SIZE },
But still no luck. Can you suggest workaround how to setting TUS_UPLOAD_EXPIRATION?