mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
bump prerelease
This commit is contained in:
15 files changed
+36
-40
No files matched your search
@@ -82,6 +82,13 @@ async function run({ domainId }, report) {
|
||||
}
|
||||
|
||||
export const apply = (ctx: Context) => {
|
||||
ctx.setting.SystemSetting(Schema.object({
|
||||
'elastic-search': Schema.object({
|
||||
url: Schema.string().role('url').default('http://127.0.0.1:9200'),
|
||||
indexSize: Schema.number().role('indexSize').default(10000).min(0).step(1),
|
||||
}),
|
||||
}));
|
||||
|
||||
ctx.on('problem/add', async (doc, docId) => {
|
||||
await client.index({
|
||||
index: 'problem',
|
||||
|
||||
Reference in new issue
Block a user