Skip to content

Commit 9195026

Browse files
committed
chore: Create native instance once per CompilerApi
1 parent 8fc26c9 commit 9195026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-server-core/src/core/CompilerApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export class CompilerApi {
6666
compileContext: this.compileContext,
6767
allowJsDuplicatePropsInSchema: this.allowJsDuplicatePropsInSchema,
6868
standalone: this.standalone,
69-
nativeInterface: this.createNativeInstance(),
69+
nativeInstance: this.nativeInstance,
7070
});
7171
this.compilerVersion = compilerVersion;
7272
this.queryFactory = await this.createQueryFactory(this.compilers);

0 commit comments

Comments
 (0)