Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for shutdown (0.18 sec)

  1. cmd/signals.go

    			if err := httpServer.Shutdown(); err != nil && !errors.Is(err, http.ErrServerClosed) {
    				shutdownLogIf(context.Background(), err)
    			}
    		}
    
    		if objAPI := newObjectLayerFn(); objAPI != nil {
    			shutdownLogIf(context.Background(), objAPI.Shutdown(context.Background()))
    		}
    
    		if srv := newConsoleServerFn(); srv != nil {
    			shutdownLogIf(context.Background(), srv.Shutdown())
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    }
    
    // Deleting the temporary backend and stopping the server.
    func (testServer TestServer) Stop() {
    	testServer.cancel()
    	testServer.Server.Close()
    	testServer.Obj.Shutdown(context.Background())
    	os.RemoveAll(testServer.Root)
    	for _, ep := range testServer.Disks {
    		for _, disk := range ep.Endpoints {
    			os.RemoveAll(disk.Path)
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/net.go

    	s.iptablesConfigurator.DeleteHostRules()
    
    	log.Debug("destroying host ipset")
    	s.hostsideProbeIPSet.Flush()
    	if err := s.hostsideProbeIPSet.DestroySet(); err != nil {
    		log.Warnf("could not destroy host ipset on shutdown")
    	}
    	log.Debug("stopping ztunnel server")
    	s.ztunnelServer.Close()
    }
    
    func (s *NetServer) rescanPod(pod *corev1.Pod) error {
    	// this can happen if the pod was dynamically added to the mesh after it was created.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  4. cmd/erasure.go

    func (er erasureObjects) NewNSLock(bucket string, objects ...string) RWLocker {
    	return er.nsMutex.NewNSLock(er.getLockers, bucket, objects...)
    }
    
    // Shutdown function for object storage interface.
    func (er erasureObjects) Shutdown(ctx context.Context) error {
    	// Add any object layer shutdown activities here.
    	closeStorageDisks(er.getDisks()...)
    	return nil
    }
    
    // defaultWQuorum write quorum based on setDriveCount and defaultParityCount
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  5. cmd/erasure-server-pool.go

    }
    
    func (z *erasureServerPools) Shutdown(ctx context.Context) error {
    	g := errgroup.WithNErrs(len(z.serverPools))
    
    	for index := range z.serverPools {
    		index := index
    		g.Go(func() error {
    			return z.serverPools[index].Shutdown(ctx)
    		}, index)
    	}
    
    	for _, err := range g.Wait() {
    		if err != nil {
    			storageLogIf(ctx, err)
    		}
    		// let's the rest shutdown
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  6. cmd/common-main.go

    	ctxt.ConnClientWriteDeadline = ctx.Duration("conn-client-write-deadline")
    	ctxt.SendBufSize = ctx.Int("send-buf-size")
    	ctxt.RecvBufSize = ctx.Int("recv-buf-size")
    
    	ctxt.ShutdownTimeout = ctx.Duration("shutdown-timeout")
    	ctxt.IdleTimeout = ctx.Duration("idle-timeout")
    	ctxt.ReadHeaderTimeout = ctx.Duration("read-header-timeout")
    	ctxt.MaxIdleConnsPerHost = ctx.Int("max-idle-conns-per-host")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  7. cmd/server-main.go

    		EnvVar: "MINIO_CONSOLE_ADDRESS",
    	},
    	cli.DurationFlag{
    		Name:   "shutdown-timeout",
    		Value:  xhttp.DefaultShutdownTimeout,
    		Usage:  "shutdown timeout to gracefully shutdown server",
    		EnvVar: "MINIO_SHUTDOWN_TIMEOUT",
    		Hidden: true,
    	},
    	cli.DurationFlag{
    		Name:   "idle-timeout",
    		Value:  xhttp.DefaultIdleTimeout,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  8. cmd/erasure-sets.go

    	}
    
    	return storageInfo
    }
    
    // Shutdown shutsdown all erasure coded sets in parallel
    // returns error upon first error.
    func (s *erasureSets) Shutdown(ctx context.Context) error {
    	g := errgroup.WithNErrs(len(s.sets))
    
    	for index := range s.sets {
    		index := index
    		g.Go(func() error {
    			return s.sets[index].Shutdown(ctx)
    		}, index)
    	}
    
    	for _, err := range g.Wait() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  9. cmd/object-api-interface.go

    }
    
    // ObjectLayer implements primitives for object API layer.
    type ObjectLayer interface {
    	// Locking operations on object.
    	NewNSLock(bucket string, objects ...string) RWLocker
    
    	// Storage operations.
    	Shutdown(context.Context) error
    	NSScanner(ctx context.Context, updates chan<- DataUsageInfo, wantCycle uint32, scanMode madmin.HealScanMode) error
    	BackendInfo() madmin.BackendInfo
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top