Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement a fix for peterbourgon#66, excessive memory use in siphon.
The siphon will now stop writing to its internal buffer once the size of the buffer exceeds the maximum cache size. Because we write until we *exceed* the max cache size, we're safe to attempt the cache update even if the buffer only contains partial data, because it's still over the limit & will be rejected.
- Loading branch information