Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
p x
wsmock
Commits
dfe0cc58
Commit
dfe0cc58
authored
Mar 04, 2026
by
p x
Browse files
注释无用日志
parent
a22de494
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/kotlin/com/inzy/wsmock/push/AdasPushTask.kt
View file @
dfe0cc58
...
@@ -114,7 +114,7 @@ class AdasPushTask(
...
@@ -114,7 +114,7 @@ class AdasPushTask(
// sendMsg(channel, carDst.first())
// sendMsg(channel, carDst.first())
continue
continue
}
}
if
(
carDst
.
isNotEmpty
())
{
else
if
(
carDst
.
isNotEmpty
())
{
carDst
.
forEachIndexed
{
index
,
string
->
carDst
.
forEachIndexed
{
index
,
string
->
// println("carIndex = ${carIndex}")
// println("carIndex = ${carIndex}")
if
(
pushConfig
.
pushStart
.
get
()
==
0
)
{
if
(
pushConfig
.
pushStart
.
get
()
==
0
)
{
...
@@ -236,6 +236,7 @@ class AdasPushTask(
...
@@ -236,6 +236,7 @@ class AdasPushTask(
private
fun
pushV2x
(
channel
:
Channel
)
{
private
fun
pushV2x
(
channel
:
Channel
)
{
CoroutineScope
(
Dispatchers
.
Default
).
launch
{
CoroutineScope
(
Dispatchers
.
Default
).
launch
{
while
(
isActive
)
{
while
(
isActive
)
{
// println("-------------pushV2x carPos = ${carPos}")
if
(
pushConfig
.
pushStart
.
get
()
==
0
)
{
if
(
pushConfig
.
pushStart
.
get
()
==
0
)
{
delay
(
100
)
delay
(
100
)
continue
continue
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment