mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Small fixups
This commit is contained in:
@@ -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)
|
||||
);
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user