mirror of
https://github.com/jie65535/JChatGPT.git
synced 2025-10-20 17:13:37 +08:00
Shorten dialogue intervals
This commit is contained in:
@@ -465,7 +465,7 @@ object JChatGPT : KotlinPlugin(
|
|||||||
} finally {
|
} finally {
|
||||||
// 一段时间后才允许再次提问,防止高频对话
|
// 一段时间后才允许再次提问,防止高频对话
|
||||||
launch {
|
launch {
|
||||||
delay(3.seconds)
|
delay(1.seconds)
|
||||||
requestMap.remove(event.subject.id)
|
requestMap.remove(event.subject.id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user