- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Sync (0.17 sec)
-
internal/store/batch.go
package store import ( "errors" "fmt" "sync" ) // ErrBatchFull indicates that the batch is full var ErrBatchFull = errors.New("batch is full") type key interface { string | int | int64 } // Batch represents an ordered batch type Batch[K key, T any] struct { keys []K items map[K]T limit uint32 sync.Mutex } // Add adds the item to the batch
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Oct 07 15:07:38 GMT 2023 - 2.5K bytes - Viewed (0) -
internal/config/batch/batch.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package batch import ( "sync" "time" "github.com/minio/minio/internal/config" "github.com/minio/pkg/v2/env" ) // Batch job environment variables const ( ReplicationWorkersWait = "replication_workers_wait"
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Dec 06 09:09:22 GMT 2023 - 4.7K bytes - Viewed (0)