Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetMaxTimeout (0.07 sec)

  1. cmd/xl-storage.go

    	return xioutil.WithDeadline[[]byte](ctx, globalDriveConfig.GetMaxTimeout(), func(ctx context.Context) ([]byte, error) {
    		data, _, err := s.readAllDataWithDMTime(ctx, volume, volumeDir, filePath)
    		return data, err
    	})
    }
    
    func (s *xlStorage) moveToTrash(filePath string, recursive, immediatePurge bool) (err error) {
    	w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    	return w.Run(func() (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top