go-ndn / persist

NDN persistent content store
GNU General Public License v2.0
0 stars 1 forks source link

Fix a time parse issue #1

Closed qhsong closed 8 years ago

qhsong commented 8 years ago

go-ndn/tlv can't parse time.Time type, but go-ndn/persist use time.Time type to store data time. It will cause time calculate problem.So I fixed it using uint64 instead of time.Time.Now it can work well and can get fresh data.

taylorchu commented 8 years ago

Thanks. https://github.com/go-ndn/tlv/commit/41244a434c9ce2df4607fe2dcaf370d6815f46cd

qhsong commented 8 years ago

Ok,I will update tlv. I also have another question, did go-ndn/ndn fetch has a timeout? I find when I receive a large file, mux.Fetch will timeout in 4 seconds.I think segment cost a lot of time.

taylorchu commented 8 years ago

Did you receive one large file or a lot of segments?