kbase / staging_service

MIT License
0 stars 9 forks source link

service hang due to large file with no new line char #88

Closed Tianhao-Gu closed 3 years ago

Tianhao-Gu commented 3 years ago

_file_read_from_tail hangs service with a large file with no newline character \n in it.

https://github.com/kbase/staging_service/blob/master/staging_service/metadata.py#L29

reproduce issue:

Tianhao-Gu commented 3 years ago

potential solution

Tianhao-Gu commented 3 years ago

We decided to do: