File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ export class SQLiteCloudConnection {
163163
164164 this . operations . enqueue ( done => {
165165 // clear all listeners and call done in the operations queue
166- const finish : ResultsCallback = ( error , result ) => {
166+ const finish : ResultsCallback = error => {
167167 if ( this . socket ) {
168168 this . socket . removeAllListeners ( 'data' )
169169 this . socket . removeAllListeners ( 'error' )
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ export class Database extends EventEmitter {
128128 * @returns {SQLiteCloudConfig } A configuration object
129129 */
130130 public getConfiguration ( ) : SQLiteCloudConfig {
131- return JSON . parse ( JSON . stringify ( this . config ) )
131+ return JSON . parse ( JSON . stringify ( this . config ) ) as SQLiteCloudConfig
132132 }
133133
134134 /** Enable verbose mode */
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import { readFileSync } from 'fs'
77import { Database } from '../src/database'
88import { ResultsCallback , SQLiteCloudConfig } from '../src/types'
99import { parseConnectionString } from '../src/utilities'
10- import sqlite3 from 'sqlite3'
1110
1211import * as dotenv from 'dotenv'
1312import { SQLiteCloudConnection } from '../src'
@@ -19,7 +18,7 @@ export const EXTRA_LONG_TIMEOUT = 60 * 60 * 1000 // 1 hour
1918/** Number of times or size of stress (when repeated in sequence) */
2019export const SEQUENCE_TEST_SIZE = 100
2120/** Concurrency size for multiple connection tests */
22- export const SIMULTANEOUS_TEST_SIZE = 500
21+ export const SIMULTANEOUS_TEST_SIZE = 200
2322
2423/** Testing database from .env file */
2524export const CHINOOK_DATABASE_URL = process . env . CHINOOK_DATABASE_URL as string
You can’t perform that action at this time.
0 commit comments