moby--moby/libnetwork/networkdb
Jana Radhakrishnan 6034058dc3 Fix infinite loop in bulk sync
Due to a slice management logic error the bulk sync for loop can go on
indefinitely and eventually leading to an OOM error. Fixed the logic so
that an infinite loop never occurs. Also changed the bulk sync wait
timeout to use a timer rather than use time.After as time.After is known
to consume a lot of memory when called in a tight loop.

Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
2016-06-15 23:38:48 -07:00
..
broadcast.go
cluster.go Fix infinite loop in bulk sync 2016-06-15 23:38:48 -07:00
delegate.go
event_delegate.go
message.go
networkdb.go
networkdb.pb.go
networkdb.proto
networkdb_test.go
watch.go