Skip to content

Commit

Permalink
(DISREGARD) add new logs 2
Browse files Browse the repository at this point in the history
  • Loading branch information
abtink committed Nov 1, 2024
1 parent 565450b commit a796357
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dispatcher/dispatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ func (d *Dispatcher) Run() {
done := d.ctx.Done()
loop:
for {
//simplelogger.Warnf("Run loop")
select {
case f := <-d.taskChan:
f()
Expand Down Expand Up @@ -274,6 +275,9 @@ loop:

func (d *Dispatcher) goUntilPauseTime() {
for d.CurTime < d.pauseTime {

//simplelogger.Warnf("goUntilPauseTime curTime %v - pauseTime %v", d.CurTime, d.pauseTime)

d.handleTasks()

if d.ctx.Err() != nil {
Expand Down Expand Up @@ -743,8 +747,11 @@ func (d *Dispatcher) syncAliveNodes() {
return
}

simplelogger.Warnf("goUntilPauseTime curTime %v - pauseTime %v", d.CurTime, d.pauseTime)

simplelogger.Warnf("syncing %d alive nodes: %v", len(d.aliveNodes), d.aliveNodes)
for nodeid := range d.aliveNodes {
simplelogger.Warnf('nodeid %d', nodeid)

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Build (Go 1.17, ubuntu-22.04)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Build (Go 1.17, ubuntu-22.04)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Build (Go 1.17, ubuntu-22.04)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Build (Go 1.17, ubuntu-22.04)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Build (Go 1.17, ubuntu-22.04)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Build (Go 1.17, ubuntu-22.04)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Build (Go 1.20, ubuntu-22.04)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Build (Go 1.20, macos-12)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Build (Go 1.17, macos-12)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Build (Go 1.17, macos-12)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Build (Go 1.17, macos-12)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Build (Go 1.17, macos-12)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Build (Go 1.17, macos-12)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Build (Go 1.17, macos-12)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Test Suite connectivity

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Test Suite network-forming

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Test Suite network-limits

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Signals (ubuntu-22.04)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Unittests (ubuntu-22.04)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Test Suite commissioning

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Signals (macos-12)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Test Suite multicast-performance

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Test Suite otns-performance

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Test Suite network-latency

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-22.04)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Go Tests on ubuntu-22.04

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Unittests (macos-12)

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Go Tests on macos-12

more than one character in rune literal

Check failure on line 754 in dispatcher/dispatcher.go

View workflow job for this annotation

GitHub Actions / Examples (macos-12)

more than one character in rune literal
d.advanceNodeTime(nodeid, d.CurTime, true)
}
}
Expand Down

0 comments on commit a796357

Please sign in to comment.