This commit is contained in:
Fuzzlemann 2017-08-08 18:31:21 +02:00
commit 6c10d1874c
2 changed files with 13 additions and 8 deletions

View File

@ -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 {

View File

@ -1,7 +1,9 @@
![Player Analytics](https://puu.sh/t8vin.png)
# 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