Small fixups

This commit is contained in:
DanB
2013-12-27 11:48:17 +01:00
parent b3a3c1f599
commit 7f8f981085
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ CREATE TABLE cdrs_primary (
subject varchar(128) NOT NULL,
destination varchar(128) NOT NULL,
answer_time datetime NOT NULL,
duration int NOT NULL,
duration bigint NOT NULL,
PRIMARY KEY (id),
UNIQUE KEY cgrid (cgrid)
);

View File

@@ -51,7 +51,7 @@ func (s *Scheduler) Loop() {
sort.Sort(s.queue)
} else {
d := a0.GetNextStartTime().Sub(now)
engine.Logger.Info(fmt.Sprintf("Timer set to wait for %v", d))
// engine.Logger.Info(fmt.Sprintf("Timer set to wait for %v", d))
s.timer = time.NewTimer(d)
select {
case <-s.timer.C: