chore: Update translations
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
kieran 2024-04-12 17:32:02 +00:00
parent 3c3e35ad4f
commit 0ab896923e
5 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@ export async function initRelayWorker() {
try {
await Relay.init({
databasePath: "relay.db",
insertBatchSize: 100
insertBatchSize: 100,
});
} catch (e) {
console.error(e);

View File

@ -24,7 +24,7 @@ const workerRelay = new WorkerRelayInterface(workerScript);
// load sqlite database and run migrations
await workerRelay.init({
databasePath: "relay.db",
insertBatchSize: 100
insertBatchSize: 100,
});
// Query worker relay with regular nostr REQ command

View File

@ -13,7 +13,7 @@ const workerRelay = new WorkerRelayInterface(workerScript);
// load sqlite database and run migrations
await workerRelay.init({
databasePath: "relay.db",
insertBatchSize: 100
insertBatchSize: 100,
});
// Query worker relay with regular nostr REQ command

View File

@ -5,12 +5,12 @@ export interface InitAargs {
/**
* OPFS file path for the database
*/
databasePath: string,
databasePath: string;
/**
* How many events to insert per batch
*/
insertBatchSize?: number
insertBatchSize?: number;
}
export class WorkerRelayInterface {

View File

@ -44,8 +44,8 @@ try {
}
interface InitAargs {
databasePath: string,
insertBatchSize?: number
databasePath: string;
insertBatchSize?: number;
}
const handleMsg = async (port: MessagePort | DedicatedWorkerGlobalScope, ev: MessageEvent) => {