Skip to content

Commit 1ee6ae9

Browse files
author
jxmag
committed
change LIBRARY_LIST to use DETAILED_INFO=>'NO' to significantly reduce srcpf load time.
1 parent 3510485 commit 1ee6ae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/IBMi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1565,7 +1565,7 @@ export default class IBMi {
15651565
let foundNumber = this.libraryAsps.get(library);
15661566

15671567
if (!foundNumber) {
1568-
const [row] = await this.runSQL(`SELECT IASP_NUMBER FROM TABLE(QSYS2.LIBRARY_INFO('${this.sysNameInAmerican(library)}'))`);
1568+
const [row] = await this.runSQL(`SELECT IASP_NUMBER FROM TABLE(QSYS2.LIBRARY_INFO('${this.sysNameInAmerican(library)}', DETAILED_INFO=>'NO'))`);
15691569
const iaspNumber = Number(row?.IASP_NUMBER);
15701570
if (iaspNumber >= 0) {
15711571
this.libraryAsps.set(library, iaspNumber);

0 commit comments

Comments
 (0)