File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import org.eclipse.egit.github.core.service.RepositoryService
7
7
import org.eclipse.egit.github.core.service.UserService
8
8
import org.eclipse.egit.github.core.service.WatcherService
9
9
import org.slf4j.LoggerFactory
10
- import java.io.IOException
11
10
import java.util.concurrent.ConcurrentHashMap
12
11
import java.util.concurrent.Executors
13
12
import java.util.concurrent.TimeUnit
@@ -54,9 +53,10 @@ object GhService {
54
53
55
54
// update all connected clients with remainingRequests twice per second
56
55
scheduleAtFixedRate({
56
+ val remainingRequests = remainingRequests.toString()
57
57
clientSessions.forEachKey(1 ) {
58
58
try {
59
- it.send(remainingRequests.toString() )
59
+ it.send(remainingRequests)
60
60
} catch (e: Exception ) {
61
61
log.error(e.toString())
62
62
}
You can’t perform that action at this time.
0 commit comments