mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-02-22 07:12:09 +01:00
Merge branch '3.7.0' of https://github.com/Rsl1122/Plan-PlayerAnalytics
This commit is contained in:
commit
6c10d1874c
@ -115,16 +115,19 @@ public class TPSTable extends Table {
|
||||
|
||||
/**
|
||||
* @param data
|
||||
* @throws SQLException
|
||||
*/
|
||||
public void saveTPSData(List<TPS> data) {
|
||||
public void saveTPSData(List<TPS> data) throws SQLException {
|
||||
List<List<TPS>> batches = DBUtils.splitIntoBatches(data);
|
||||
batches.forEach(batch -> {
|
||||
try {
|
||||
saveTPSBatch(batch);
|
||||
} catch (SQLException e) {
|
||||
Log.toLog("UsersTable.saveUserDataInformationBatch", e);
|
||||
}
|
||||
});
|
||||
batches.stream()
|
||||
.forEach(batch -> {
|
||||
try {
|
||||
saveTPSBatch(batch);
|
||||
} catch (SQLException e) {
|
||||
Log.toLog("UsersTable.saveUserDataInformationBatch", e);
|
||||
}
|
||||
});
|
||||
commit();
|
||||
}
|
||||
|
||||
private void saveTPSBatch(List<TPS> batch) throws SQLException {
|
||||
|
@ -1,7 +1,9 @@
|
||||

|
||||
|
||||
|
||||
# HTTPS Configuration
|
||||
|
||||
|
||||
## How to configure Plan to use SSL Encryption:
|
||||
- Obtain a Java Keystore file (More below)
|
||||
- Place the keystore file in the /plugins/Plan/ folder
|
||||
|
Loading…
Reference in New Issue
Block a user