I am hoping to just simply change it so messages expire after 3 days, I have tried doing it via a hack solution of changing the MAX_MESSAGES to 1000 in the ChatService.java file. This however doesnt seem to work, it still deletes the 1st message when the 11th message is posted.
Note: I have no experience with java programming or much programming experience at all other than some php and html. With that said I have managed to setup eclipse and get subsonic to compile/install, I have successfully changed the share url domain for the sharing feature on SubSonic.
- Code: Select all
private static final Object CACHE_KEY = 1;
private static final int MAX_MESSAGES = 1000;
private static final long TTL_MILLIS = 3L * 24L * 60L * 60L * 1000L; // 3 days.
If someone with java experience could give me a hand in tweaking this it would much appreciated.
For testing i have been just extracting the changed .class file from the newly compiled war and then adding/updating the war on my server and restarting the SS service.
EDIT: Server is Server 2008R2, mem limit 1gig, SS version 4.6
Thanks for any help.
neodawg
