From 6ec55dc74602f9ac21b82c3c0ddc09ba807ff768 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 20 Jan 2016 15:06:46 -0800 Subject: [PATCH] only wait for state change for migration once --- server-console/src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-console/src/main.js b/server-console/src/main.js index 28a69527a1..52c56df5e3 100644 --- a/server-console/src/main.js +++ b/server-console/src/main.js @@ -338,7 +338,7 @@ function promptToMigrateContent() { }, function(index) { if (index == 0) { if (homeServer.state != ProcessGroupStates.STOPPED) { - homeServer.on('state-update', function(processGroup) { + homeServer.once('state-update', function(processGroup) { if (processGroup.state == ProcessGroupStates.STOPPED) { performContentMigration(); }