Skip to content

Commit

Permalink
Merge pull request #186 from RedstoneTools/dev
Browse files Browse the repository at this point in the history
Minor tweaks to telemetry client
  • Loading branch information
Matthias1590 authored May 20, 2023
2 parents 21cc6b0 + 9542e87 commit 9c097f9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ public class TelemetryClient {
private static final String BASE_URL = FabricLoader.getInstance().isDevelopmentEnvironment()
? "https://localhost/api/telemetry/v1"
: "https://redstone.tools/api/telemetry/v1";
private static final int SESSION_REFRESH_TIME_SECONDS = 60 * 5 - 10; // 5 minutes - 10 seconds
private static final int SESSION_REFRESH_TIME_SECONDS = 60 * 4; // 4 minutes
private static final int REQUEST_SEND_TIME_MILLISECONDS = 50;
private static final int REQUEST_VALID_FOR_SECONDS = 30;
private static final int REQUEST_VALID_FOR_SECONDS = 15;

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

Expand Down

0 comments on commit 9c097f9

Please sign in to comment.