From a1c8319b8133aa0163f2c47647f75418a2203706 Mon Sep 17 00:00:00 2001 From: Pradyumna Kaushik Date: Mon, 14 Nov 2016 22:42:22 -0500 Subject: [PATCH] changed extrema to non-extrema. This was done so that proactive cluster wide capping scheme doesn't conflict with the extrema capping scheme. --- scheduler.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scheduler.go b/scheduler.go index 168b72e..356587f 100644 --- a/scheduler.go +++ b/scheduler.go @@ -2,8 +2,8 @@ package main import ( "bitbucket.org/sunybingcloud/electron/def" - "bitbucket.org/sunybingcloud/electron/pcp" "bitbucket.org/sunybingcloud/electron/schedulers" + "bitbucket.org/sunybingcloud/electron/pcp" "flag" "fmt" "github.com/golang/protobuf/proto" @@ -70,8 +70,8 @@ func main() { return } - //go pcp.Start(scheduler.PCPLog, &scheduler.RecordPCP, *pcplogPrefix) - go pcp.StartLogAndDynamicCap(scheduler.PCPLog, &scheduler.RecordPCP, *pcplogPrefix, *hiThreshold, *loThreshold) + go pcp.Start(scheduler.PCPLog, &scheduler.RecordPCP, *pcplogPrefix) + //go pcp.StartLogAndDynamicCap(scheduler.PCPLog, &scheduler.RecordPCP, *pcplogPrefix, *hiThreshold, *loThreshold) time.Sleep(1 * time.Second) // Attempt to handle signint to not leave pmdumptext running