Skip to content

Commit 9b14864

Browse files
committed
Overlay: Lower size limit for overlay base databases
1 parent 0c5185d commit 9b14864

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/overlay-database-utils.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,10 @@ export const CODEQL_OVERLAY_MINIMUM_VERSION = "2.22.4";
3434
* Actions Cache client library. Instead we place a limit on the uncompressed
3535
* size of the overlay-base database.
3636
*
37-
* Assuming 2.5:1 compression ratio, the 15 GB limit on uncompressed data would
38-
* translate to a limit of around 6 GB after compression. This is a high limit
39-
* compared to the default 10GB Actions Cache capacity, but enforcement of Actions
40-
* Cache quotas is not immediate.
41-
*
42-
* TODO: revisit this limit before removing the restriction for overlay analysis
43-
* to the `github` and `dsp-testing` orgs.
37+
* Assuming 2.5:1 compression ratio, the 7.5 GB limit on uncompressed data would
38+
* translate to a limit of around 3 GB after compression.
4439
*/
45-
const OVERLAY_BASE_DATABASE_MAX_UPLOAD_SIZE_MB = 15000;
40+
const OVERLAY_BASE_DATABASE_MAX_UPLOAD_SIZE_MB = 7500;
4641
const OVERLAY_BASE_DATABASE_MAX_UPLOAD_SIZE_BYTES =
4742
OVERLAY_BASE_DATABASE_MAX_UPLOAD_SIZE_MB * 1_000_000;
4843

0 commit comments

Comments
 (0)