We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e3665b commit e003175Copy full SHA for e003175
1 file changed
extensions/ql-vscode/src/databases/database-fetcher.ts
@@ -456,7 +456,7 @@ async function getStorageFolder(
456
if (counter <= DUPLICATE_FILENAMES_TRIES) {
457
// First try to use a counter to make the name unique.
458
folderName = `${lastName}-${counter}`;
459
- } else if (counter <= 2 * DUPLICATE_FILENAMES_TRIES) {
+ } else if (counter <= DUPLICATE_FILENAMES_TRIES + 5) {
460
// If there are more than 10,000 similarly named databases,
461
// give up on using a counter and use a random string instead.
462
folderName = `${lastName}-${nanoid()}`;
0 commit comments