Skip to content

Commit 9c097f9

Browse files
authored
Merge pull request #186 from RedstoneTools/dev
Minor tweaks to telemetry client
2 parents 21cc6b0 + 9542e87 commit 9c097f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/tools/redstone/redstonetools/telemetry/TelemetryClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ public class TelemetryClient {
2929
private static final String BASE_URL = FabricLoader.getInstance().isDevelopmentEnvironment()
3030
? "https://localhost/api/telemetry/v1"
3131
: "https://redstone.tools/api/telemetry/v1";
32-
private static final int SESSION_REFRESH_TIME_SECONDS = 60 * 5 - 10; // 5 minutes - 10 seconds
32+
private static final int SESSION_REFRESH_TIME_SECONDS = 60 * 4; // 4 minutes
3333
private static final int REQUEST_SEND_TIME_MILLISECONDS = 50;
34-
private static final int REQUEST_VALID_FOR_SECONDS = 30;
34+
private static final int REQUEST_VALID_FOR_SECONDS = 15;
3535

3636
private final TelemetryManager manager = INJECTOR.getInstance(TelemetryManager.class);
3737

0 commit comments

Comments
 (0)