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 {
163
163
164
164
this . operations . enqueue ( done => {
165
165
// clear all listeners and call done in the operations queue
166
- const finish : ResultsCallback = ( error , result ) => {
166
+ const finish : ResultsCallback = error => {
167
167
if ( this . socket ) {
168
168
this . socket . removeAllListeners ( 'data' )
169
169
this . socket . removeAllListeners ( 'error' )
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ export class Database extends EventEmitter {
128
128
* @returns {SQLiteCloudConfig } A configuration object
129
129
*/
130
130
public getConfiguration ( ) : SQLiteCloudConfig {
131
- return JSON . parse ( JSON . stringify ( this . config ) )
131
+ return JSON . parse ( JSON . stringify ( this . config ) ) as SQLiteCloudConfig
132
132
}
133
133
134
134
/** Enable verbose mode */
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import { readFileSync } from 'fs'
7
7
import { Database } from '../src/database'
8
8
import { ResultsCallback , SQLiteCloudConfig } from '../src/types'
9
9
import { parseConnectionString } from '../src/utilities'
10
- import sqlite3 from 'sqlite3'
11
10
12
11
import * as dotenv from 'dotenv'
13
12
import { SQLiteCloudConnection } from '../src'
@@ -19,7 +18,7 @@ export const EXTRA_LONG_TIMEOUT = 60 * 60 * 1000 // 1 hour
19
18
/** Number of times or size of stress (when repeated in sequence) */
20
19
export const SEQUENCE_TEST_SIZE = 100
21
20
/** Concurrency size for multiple connection tests */
22
- export const SIMULTANEOUS_TEST_SIZE = 500
21
+ export const SIMULTANEOUS_TEST_SIZE = 200
23
22
24
23
/** Testing database from .env file */
25
24
export const CHINOOK_DATABASE_URL = process . env . CHINOOK_DATABASE_URL as string
You can’t perform that action at this time.
0 commit comments