public ManagedInstanceDirective()
        {
            DoAutomaticUpdates = true;
            UpgradeTimeout = TimeSpan.FromSeconds(30);
            RestartTimeout = TimeSpan.FromSeconds(30);

            EndpointConnectDirective = new WorkerDirective(true, TimeSpan.FromSeconds(10), TimeSpan.FromSeconds(5));
            HeartbeatDirective = new WorkerDirective(true, TimeSpan.FromSeconds(3), TimeSpan.FromSeconds(5));
            ConnectionStatusDirective = new WorkerDirective(true, TimeSpan.FromSeconds(3), TimeSpan.FromSeconds(5));
            SystemStatusDirective = new WorkerDirective(true, TimeSpan.FromSeconds(5), TimeSpan.FromSeconds(5));
            ReportStatusDirective = new WorkerDirective(true, TimeSpan.FromMinutes(15), TimeSpan.FromSeconds(5));
            VersionUpgradeDirective = new WorkerDirective(true, TimeSpan.FromHours(6), TimeSpan.FromSeconds(5));
            FolderStatusDirective = new WorkerDirective(true, TimeSpan.FromSeconds(30), TimeSpan.FromSeconds(10));
            FolderStatsDirective = new WorkerDirective(true, TimeSpan.FromSeconds(3), TimeSpan.FromSeconds(5));
            FolderModelDirectove = new WorkerDirective(true, TimeSpan.FromSeconds(5), TimeSpan.FromSeconds(25));
        }
Ejemplo n.º 2
0
        public ManagedInstanceDirective()
        {
            DoAutomaticUpdates = true;
            UpgradeTimeout     = TimeSpan.FromSeconds(30);
            RestartTimeout     = TimeSpan.FromSeconds(30);

            EndpointConnectDirective  = new WorkerDirective(true, TimeSpan.FromSeconds(10), TimeSpan.FromSeconds(5));
            HeartbeatDirective        = new WorkerDirective(true, TimeSpan.FromSeconds(3), TimeSpan.FromSeconds(5));
            ConnectionStatusDirective = new WorkerDirective(true, TimeSpan.FromSeconds(3), TimeSpan.FromSeconds(5));
            SystemStatusDirective     = new WorkerDirective(true, TimeSpan.FromSeconds(5), TimeSpan.FromSeconds(5));
            ReportStatusDirective     = new WorkerDirective(true, TimeSpan.FromMinutes(15), TimeSpan.FromSeconds(5));
            VersionUpgradeDirective   = new WorkerDirective(true, TimeSpan.FromHours(6), TimeSpan.FromSeconds(5));
            FolderStatusDirective     = new WorkerDirective(true, TimeSpan.FromSeconds(30), TimeSpan.FromSeconds(10));
            FolderStatsDirective      = new WorkerDirective(true, TimeSpan.FromSeconds(3), TimeSpan.FromSeconds(5));
            FolderModelDirectove      = new WorkerDirective(true, TimeSpan.FromSeconds(5), TimeSpan.FromSeconds(25));
        }