* Reuse zlib ReadCloser and add timeout for get fs id list
* Reuse zlib reader
* Get seafile and seafdir with zlib reader
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
Use json-iterator/go to parse fs objects (#510)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
Add cache for seafdir (#511)
* Add cache for seafile and seafdir
* Add ttl for fs cache
* Use MB unit and add a comment
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
Close object after reading finished (#512)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>