remove debug code
This commit is contained in:
parent
d86ca51672
commit
a1281e544d
BIN
remind/remind.db
BIN
remind/remind.db
Binary file not shown.
@ -5,7 +5,6 @@ import (
|
|||||||
"b612.me/stardb"
|
"b612.me/stardb"
|
||||||
"b612.me/startimer"
|
"b612.me/startimer"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
@ -130,7 +129,6 @@ func (r *Remind) AddTask(taskStr, key string, msg []byte) (Task, error) {
|
|||||||
r.mu.Lock()
|
r.mu.Lock()
|
||||||
r.tasks[rmt.ID] = rmt
|
r.tasks[rmt.ID] = rmt
|
||||||
r.mu.Unlock()
|
r.mu.Unlock()
|
||||||
fmt.Println(tmr.ExportRepeats())
|
|
||||||
err = rmt.timer.Run()
|
err = rmt.timer.Run()
|
||||||
time.Sleep(time.Microsecond * 100)
|
time.Sleep(time.Microsecond * 100)
|
||||||
if err != nil || !rmt.timer.IsRunning() {
|
if err != nil || !rmt.timer.IsRunning() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user