mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
only wait for state change for migration once
This commit is contained in:
parent
430d1351db
commit
6ec55dc746
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue