Skip to content

Commit

Permalink
Use nano time instead of miliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
dnestoro committed Jan 9, 2025
1 parent e800f84 commit 1e17965
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ private void addDefaultAccessFilter() {
}

long pid = ProcessHandle.current().pid();
long time = System.currentTimeMillis();
long time = System.nanoTime();
Path tmpAccessFilter = agentDir.resolve(ACCESS_FILTER_PREFIX + '_' + pid + '_' + time + '_' + ACCESS_FILTER_SUFFIX);
Files.copy(accessFilterData, tmpAccessFilter);

Expand Down

0 comments on commit 1e17965

Please sign in to comment.