Skip to content

Commit

Permalink
Fix compilation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
duncte123 committed Nov 22, 2023
1 parent 1cf7722 commit d52a746
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class JDARestClient(token: String) {
val authConfig = AuthorizationConfig(token)
val threadConfig = ThreadingConfig.getDefault()

threadConfig.setRateLimitPool(Executors.newScheduledThreadPool(5) {
threadConfig.setRateLimitScheduler(Executors.newScheduledThreadPool(5) {
val t = Thread(it, "dunctebot-rest-thread")
t.isDaemon = true
return@newScheduledThreadPool t
Expand Down

0 comments on commit d52a746

Please sign in to comment.