Skip to content

Commit 525894a

Browse files
authored
Merge pull request #811 from ssurenr/svcbug
Delay vsQueue Length Assessment
2 parents ba0719d + 2484190 commit 525894a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/RELEASE-NOTES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Release Notes for BIG-IP Controller for Kubernetes
33

44
next-release
55
------------
6+
* :issues: `810` - Controller deletes services and recreates during bigip-ctlr pod restart
67

78
v1.7.1
89
------

pkg/appmanager/appManager.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,8 @@ func (appMgr *Manager) virtualServerWorker() {
765765
func (appMgr *Manager) processNextVirtualServer() bool {
766766
key, quit := appMgr.vsQueue.Get()
767767
if !appMgr.initialState && appMgr.processedItems == 0 {
768+
//TODO: Properly handlle queueLen assessment and remove Sleep function
769+
time.Sleep(1 * time.Second)
768770
appMgr.queueLen = appMgr.vsQueue.Len()
769771
}
770772
if quit {

0 commit comments

Comments
 (0)