wait for 30 seconds in taskmanager instead

problem: because the apps are not inserted into appdb, the cloudron starts out
with an empty view. apps appear suddenly after 30 seconds.

besides, it makes more sense because 30 secs is not really tied to first run
This commit is contained in:
Girish Ramakrishnan
2016-04-19 13:56:09 -07:00
parent e1b7198a29
commit 5fa974ffe6
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ function initialize(callback) {
assert.strictEqual(typeof callback, 'function');
exports.events.on(exports.EVENT_CONFIGURED, addDnsRecords);
exports.events.on(exports.EVENT_FIRST_RUN, function () { setTimeout(installAppBundle, 30000); }); // wait for 30sec for the addons to start up
exports.events.on(exports.EVENT_FIRST_RUN, installAppBundle);
// check activation state for existing cloudrons that do not have first run file
// can be removed once cloudrons have been updated