[NebulousLabs/Sia] Persist renter cache settings, and renter bandwidth limiter settings (#3052)

MSevey commented on this pull request.

> return &streamCache{
streamMap: make(map[string]*chunkData),
streamHeap: streamHeap,
— cacheSize: defaultStreamCacheSize,

The comment `cacheSize not set as it is persisted` can be removed now since the method was updated to take the cacheSize as an argument and set it

Добавить комментарий