bump prerelease

This commit is contained in:
undefined committed 2025-03-13 04:29:00 +08:00
1 parent caa4ddc414
commit 8bc5fa1142
15 files changed
+36 -40

No files matched your search

+7
View File
@@ -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',