a15c8fd476
We had two different places in the code that were both trying to limit to the MAX_LOG_SIZE and doing different things with it. fetchLogs was keeping each individual file to MAX_LOG_SIZE but then the outer loop was also discarding the whole file if it would make the total exceed MAX_LOG_SIZE. This meant that if you ran your client for a while then refreshed and sent a rageshake, the logic would omit everything from before the refresh but make sure it included the tiny amount of useless logging from after the refresh. This will truncate large files if they would take the whole thing over the size limit and still include part of them. |
||
---|---|---|
.. | ||
rageshake.js | ||
submit-rageshake.js |