Skip to content

Commit 8e442fc

Browse files
committed
refactor: 의미없는 slack alert을 주지않도록 수정한다
1 parent bc7bdb8 commit 8e442fc

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/main/kotlin/org/gitanimals/supports/ratelimit/InmemoryGithubRateLimiter.kt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,6 @@ class InmemoryGithubRateLimiter(
9494
}
9595
}
9696

97-
@Scheduled(cron = "0 0 * * * *", zone = "Asia/Seoul")
98-
fun sendRateLimitAlert() {
99-
val message = """
100-
:pirate_flag: Current github rate limit
101-
102-
$rateLimit
103-
""".trimIndent()
104-
slackSender.send(githubTokenChannel, message)
105-
}
106-
10797
object CoroutineDispatcher {
10898

10999
private val executorService = Executors.newCachedThreadPool { runnable ->

0 commit comments

Comments
 (0)