Mercurial Hosting > luan
changeset 1606:7c7f28c724e8
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 20 Apr 2021 18:06:50 -0600 |
parents | ef9d96aeb541 |
children | fa066aaa068c |
files | src/luan/modules/ThreadLuan.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/luan/modules/ThreadLuan.java Sat Apr 17 18:11:37 2021 -0600 +++ b/src/luan/modules/ThreadLuan.java Tue Apr 20 18:06:50 2021 -0600 @@ -102,7 +102,7 @@ } else if( repeatingRate != null ) { if( delay==null ) delay = repeatingRate; - sf = scheduler.scheduleWithFixedDelay(r,delay.longValue(),repeatingRate.longValue(),TimeUnit.MILLISECONDS); + sf = scheduler.scheduleAtFixedRate(r,delay.longValue(),repeatingRate.longValue(),TimeUnit.MILLISECONDS); } else if( delay != null ) { sf = scheduler.schedule(r,delay.longValue(),TimeUnit.MILLISECONDS); } else {