Skip to content

Commit

Permalink
check license every 3 hrs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlermitage committed Dec 25, 2023
1 parent 8970b3a commit f574ba8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* support `(.)log(s)`folders.
* support `.noai` files (which tell the AI Assistant plugin to block AI features for the containing project).
* support [Detekt](https://detekt.dev/docs/introduction/configurations/) files ending by `detekt-config.yml` or `detekt.yml` (I may try to pick the configured Detekt filename from the `build.gradle(.kts)` file later).
* plugin's license is now verified hourly. There is no performance impact (less than 15ms, usually 5-10ms on a slow VM). No internet connection is required.
* plugin's license is now verified every 3 hours.
* starting from 2024, I will occasionally send some [coupons](https://github.com/jonathanlermitage/intellij-extra-icons-plugin/blob/master/docs/LICENSE_FAQ.md#i-received-a-coupon-for-a-free-license-how-does-it-work) for Free licenses on [Twitter](https://twitter.com/JLermitage) and [Bluesky](https://bsky.app/profile/jonathanlermitage.bsky.social). Stay tuned.

## 2023.4.2 (2023/12/03)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public Object execute(@NotNull Project project, @NotNull Continuation<? super Un
LOGGER.info("Started Extra Icons license checker");

int check_delay = 30_000; // 30 sec
int check_period = 3_600_000; // 1 hr
int check_period = 3 * 3_600_000; // 3 hrs
if ("true".equals(System.getenv("EXTRA_ICONS_TEST_MODE"))) {
check_delay = 3_000; // 3 sec
check_period = 240_000; // 4 min
Expand Down

0 comments on commit f574ba8

Please sign in to comment.