mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
Made shutdown session save a throwaway transaction
This commit is contained in:
parent
2c8bbc80d8
commit
d7ca428d41
@ -19,7 +19,7 @@ package com.djrapitops.plan.storage.database.transactions.events;
|
|||||||
import com.djrapitops.plan.gathering.cache.SessionCache;
|
import com.djrapitops.plan.gathering.cache.SessionCache;
|
||||||
import com.djrapitops.plan.gathering.domain.FinishedSession;
|
import com.djrapitops.plan.gathering.domain.FinishedSession;
|
||||||
import com.djrapitops.plan.storage.database.queries.LargeStoreQueries;
|
import com.djrapitops.plan.storage.database.queries.LargeStoreQueries;
|
||||||
import com.djrapitops.plan.storage.database.transactions.Transaction;
|
import com.djrapitops.plan.storage.database.transactions.ThrowawayTransaction;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ import java.util.Collection;
|
|||||||
*
|
*
|
||||||
* @author AuroraLS3
|
* @author AuroraLS3
|
||||||
*/
|
*/
|
||||||
public class ServerShutdownTransaction extends Transaction {
|
public class ServerShutdownTransaction extends ThrowawayTransaction {
|
||||||
|
|
||||||
private final Collection<FinishedSession> unsavedSessions;
|
private final Collection<FinishedSession> unsavedSessions;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user