From 28197e4d6fe92730704f219df2646d548827fc33 Mon Sep 17 00:00:00 2001 From: GoalieGuy6 Date: Tue, 21 Feb 2012 23:55:04 -0500 Subject: [PATCH] Made transcation records able to last forever --- com/Acrobot/ChestShop/DB/Queue.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/com/Acrobot/ChestShop/DB/Queue.java b/com/Acrobot/ChestShop/DB/Queue.java index 336151b..d6ce89c 100644 --- a/com/Acrobot/ChestShop/DB/Queue.java +++ b/com/Acrobot/ChestShop/DB/Queue.java @@ -19,7 +19,8 @@ public class Queue implements Runnable { } public void run() { - deleteOld(); + if (Config.getInteger(Property.RECORD_TIME_TO_LIVE) != -1) + deleteOld(); ChestShop.getDB().save(queue); queue.clear();