Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for reopened (0.15 sec)

  1. cmd/tier-journal.go

    	defer jd.Unlock()
    	_, err = jd.file.Write(b)
    	if err != nil {
    		// Do not leak fd here, close the file properly.
    		Fdatasync(jd.file)
    		_ = jd.file.Close()
    
    		jd.file = nil // reset to allow subsequent reopen when file/disk is available.
    	}
    	return err
    }
    
    // Close closes the active journal and renames it to read-only for pending
    // deletes processing. Note: calling Close on a closed journal is a no-op.
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  2. internal/http/server.go

    		// Double and clamp for next time.
    		pollIntervalBase *= 2
    		if pollIntervalBase > shutdownPollIntervalMax {
    			pollIntervalBase = shutdownPollIntervalMax
    		}
    		return interval
    	}
    
    	// Wait for opened connection to be closed up to Shutdown timeout.
    	shutdownTimeout := srv.ShutdownTimeout
    	shutdownTimer := time.NewTimer(shutdownTimeout)
    	defer shutdownTimer.Stop()
    
    	timer := time.NewTimer(nextPollInterval())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. internal/ioutil/ioutil.go

    //
    // This code is similar in spirit to io.Copy but it is only to be
    // used with DIRECT I/O based file descriptor and it is expected that
    // input writer *os.File not a generic io.Writer. Make sure to have
    // the file opened for writes with syscall.O_DIRECT flag.
    func CopyAligned(w io.Writer, r io.Reader, alignedBuf []byte, totalSize int64, file *os.File) (int64, error) {
    	if totalSize == 0 {
    		return 0, nil
    	}
    
    	var written int64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. .github/workflows/issues.yaml

    # @format
    
    name: Issue Workflow
    
    on:
      issues:
        types:
          - opened
    
    jobs:
      add-to-project:
        name: Add issue to project
        runs-on: ubuntu-latest
        steps:
          - uses: actions/add-to-project@v0.5.0
            with:
              project-url: https://github.com/orgs/miniohq/projects/2
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 11 07:02:00 GMT 2024
    - 338 bytes
    - Viewed (0)
Back to top