Default limit query results to 1000
This commit is contained in:
parent
0bf801f0e8
commit
48986fc6cb
@ -26,6 +26,10 @@ export async function widget(
|
||||
);
|
||||
const parsedQuery = astToKvQuery(queryAST[1]);
|
||||
|
||||
if (!parsedQuery.limit) {
|
||||
parsedQuery.limit = ["number", 1000];
|
||||
}
|
||||
|
||||
const eventName = `query:${parsedQuery.querySource}`;
|
||||
|
||||
let resultMarkdown = "";
|
||||
|
Loading…
Reference in New Issue
Block a user