Commit f8e9b32
committed
fix: trial synchronising SQLManager#sendBatch
- I don't think this is likely to cause any issues; I don't see any reason for deadlocks/excessive waits here
- attempts to address #4612
- this is the only reason I can find that there would be some kind of race condition that sets auto commit whilst attempting to commit from the main thread and would also explain why we get the NoSuchElementException in the above issue as well1 parent 8edc5c1 commit f8e9b32
File tree
2 files changed
+2
-3
lines changed- Core/src/main/java/com/plotsquared/core
- database
- player
2 files changed
+2
-3
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
395 | | - | |
| 394 | + | |
396 | 395 | | |
397 | 396 | | |
398 | 397 | | |
| |||
0 commit comments