Commit 05559354 authored by p x's avatar p x
Browse files

调整推送时间

parent e2f0c9c6
......@@ -150,7 +150,7 @@ class AvpPushTask(
*/
private fun pushCarPos(channel: Channel) {
CoroutineScope(Dispatchers.Default).launch {
delay(18000)
delay(25*1000)
if (carVehPark?.rs?.count() == 0 || carVehCall?.rs?.count() == 0)
return@launch
status = "park"
......@@ -228,7 +228,7 @@ class AvpPushTask(
private fun pushPre(channel: Channel) {
CoroutineScope(Dispatchers.Default).launch {
if (preDst.isNotEmpty()) {
delay(2000)
delay(18*1000)
preDst.forEachIndexed { index, string ->
// println("index = ${index}")
sendMsg(channel, string)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment