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,6 +7,7 @@ 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
10
11
import java.util.concurrent.ConcurrentHashMap
11
12
import java.util.concurrent.Executors
12
13
import java.util.concurrent.TimeUnit
@@ -53,10 +54,9 @@ object GhService {
53
54
54
55
// update all connected clients with remainingRequests twice per second
55
56
scheduleAtFixedRate({
56
- val remainingRequests = remainingRequests.toString()
57
57
clientSessions.forEachKey(1 ) {
58
58
try {
59
- it.send(remainingRequests)
59
+ it.send(remainingRequests.toString() )
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