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
77import org.eclipse.egit.github.core.service.UserService
88import org.eclipse.egit.github.core.service.WatcherService
99import org.slf4j.LoggerFactory
10- import java.io.IOException
1110import java.util.concurrent.ConcurrentHashMap
1211import java.util.concurrent.Executors
1312import java.util.concurrent.TimeUnit
@@ -54,9 +53,10 @@ object GhService {
5453
5554 // update all connected clients with remainingRequests twice per second
5655 scheduleAtFixedRate({
56+ val remainingRequests = remainingRequests.toString()
5757 clientSessions.forEachKey(1 ) {
5858 try {
59- it.send(remainingRequests.toString() )
59+ it.send(remainingRequests)
6060 } catch (e: Exception ) {
6161 log.error(e.toString())
6262 }
You can’t perform that action at this time.
0 commit comments