@steedos/service-fields-indexs 2.4.10 → 2.4.11-beta.2
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/package.json +2 -2
- package/package.service.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/service-fields-indexs",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.11-beta.2",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"dependencies": {
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
|
-
"gitHead": "
|
|
13
|
+
"gitHead": "b87601438ab4f5c0822d37755a4f0ccb2fe204cb"
|
|
14
14
|
}
|
package/package.service.js
CHANGED
|
@@ -103,7 +103,7 @@ module.exports = {
|
|
|
103
103
|
*/
|
|
104
104
|
async started(ctx) {
|
|
105
105
|
try {
|
|
106
|
-
let indexScheduleCron = "0 0
|
|
106
|
+
let indexScheduleCron = "0 0 2 * * *"; // 默认每天凌晨2点
|
|
107
107
|
const steedosConfig = objectql.getSteedosConfig() || {};
|
|
108
108
|
const cron = steedosConfig.cron;
|
|
109
109
|
if (cron && cron.build_index) {
|