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

redis store sometimes returns $contents without key expires_at

jmglsn opened this issue · comments

Hey,

I noticed that under some circumstances the array $contents is missing the key expires_at right over here:

$isExpired = Carbon::parse($contents['expires_at'])->lt(Carbon::now());

It's showing up super seldom but maybe worth a short investigation.

Thank you!

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

FYI: Still seeing this error from time to time...

commented

I think this is related to #376, some details regarding this behavior are in the comments.

Thank you @ankitpokhrel – I'll cross check that once more, maybe I missed a link and the cache is varnished during the request.