sumba 2.46.2 → 2.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
- package/wiki/CHANGES.md +3 -0
package/index.js
CHANGED
|
@@ -98,7 +98,7 @@ async function factory (pkgName) {
|
|
|
98
98
|
*/
|
|
99
99
|
start = async () => {
|
|
100
100
|
await this.populateRouteGuards()
|
|
101
|
-
const {
|
|
101
|
+
const { startInterval } = this.app.lib
|
|
102
102
|
if (!this.config.multiSite.enabled) {
|
|
103
103
|
this.config.xSiteAdmins = []
|
|
104
104
|
return
|
|
@@ -108,7 +108,7 @@ async function factory (pkgName) {
|
|
|
108
108
|
const user = await getModel('SumbaUser').findOneRecord({ query: { username: 'admin', siteId: site.id + '' } }, { noMagic: true })
|
|
109
109
|
this.config.xSiteAdmins.push(`${site.alias}:${user.username}`)
|
|
110
110
|
}
|
|
111
|
-
|
|
111
|
+
startInterval(this.execDownload, this.config.queue.intvDur, 'download')
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
/**
|
package/package.json
CHANGED