Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a 404 when requesting an input file leaves cruft in the cacheDB #21

Open
flipmcf opened this issue Aug 1, 2022 · 1 comment
Open

a 404 when requesting an input file leaves cruft in the cacheDB #21

flipmcf opened this issue Aug 1, 2022 · 1 comment

Comments

@flipmcf
Copy link
Owner

flipmcf commented Aug 1, 2022

related to #13, but the database gets entries for the non-existent files also.

curl -i http://localhost:5000/i/20220712/1251/1_s7pukv4p_1_,1_1eocuf1k,1_w1fhk9p8,1_ccbzdcz9,1_56oozsqr,1_r9khrgv6,1_csih53d8,_1.mp4.csmil/master.m3u8

(the 1 prefix is duplicated because each bitrate also specifies '1_' so the list of files contains '1_1' and those are 404 at the file store.)

All the input files are 404, but now the database contains:

sqlite> select * from inputfile;
20220712/1251/1_s7pukv4p_1_1_1eocuf1k_1.mp4|2022-08-01 15:42:34.939431+00:00
20220712/1251/1_s7pukv4p_1_1_w1fhk9p8_1.mp4|2022-08-01 15:42:35.412273+00:00
20220712/1251/1_s7pukv4p_1_1_ccbzdcz9_1.mp4|2022-08-01 15:42:35.860875+00:00
20220712/1251/1_s7pukv4p_1_1_56oozsqr_1.mp4|2022-08-01 15:42:36.329535+00:00
20220712/1251/1_s7pukv4p_1_1_r9khrgv6_1.mp4|2022-08-01 15:42:36.799411+00:00
20220712/1251/1_s7pukv4p_1_1_csih53d8_1.mp4|2022-08-01 15:42:37.284564+00:00

@flipmcf
Copy link
Owner Author

flipmcf commented Aug 25, 2022

Yeah, this is here too:

20220803/1475/1_s25g8d3v_1_foo_1.mp4|1661452298

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant