mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
etcd: implement batch operations
- cache the operations internally in a list - Write() applies the list to etcd
This commit is contained in:
1 parent
9768ecef22
commit
7a01c9c62d
2 files changed
+24
-5
No files matched your search
@@ -163,7 +163,7 @@ func (s *EtcDStorage) CreateBatch() database.Batch {
|
||||
return nil
|
||||
}
|
||||
return &EtcDBatch{
|
||||
db: s.db,
|
||||
s: s,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user