2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2025-04-20 01:27:07 +00:00

Cleanup of the stream in ProxyDataManager.java as it would fill up over-time and unnecessarily take storage

This commit is contained in:
petulikan1 2024-07-20 04:34:23 +02:00
parent af80e2063b
commit 3c00687ba0
No known key found for this signature in database
GPG Key ID: FB6714D0D6E9DDD4

View File

@ -374,6 +374,7 @@ public abstract class ProxyDataManager implements Runnable {
} }
} }
} }
unifiedJedis.xdel(STREAM_ID,this.lastStreamEntryID); //CLEAN-UP of the stream, otherwise the STREAM would fill-up over time and take space - petulikan1
} catch (Exception e) { } catch (Exception e) {
this.plugin.logFatal("an error has occurred in the stream", e); this.plugin.logFatal("an error has occurred in the stream", e);
try { try {