@@ -22,18 +22,20 @@ export const CODEQL_OVERLAY_MINIMUM_VERSION = "2.22.3";
22
22
23
23
/**
24
24
* The maximum (uncompressed) size of the overlay base database that we will
25
- * upload. Actions Cache has an overall capacity of 10 GB, and the Actions Cache
26
- * client library uses zstd compression.
25
+ * upload. By default, the Actions Cache has an overall capacity of 10 GB, and
26
+ * the Actions Cache client library uses zstd compression.
27
27
*
28
28
* Ideally we would apply a size limit to the compressed overlay-base database,
29
29
* but we cannot do so because compression is handled transparently by the
30
30
* Actions Cache client library. Instead we place a limit on the uncompressed
31
31
* size of the overlay-base database.
32
32
*
33
- * Assuming 2.5:1 compression ratio, the 6 GB limit on uncompressed data would
34
- * translate to a limit of around 2.4 GB after compression.
33
+ * Assuming 2.5:1 compression ratio, the 15 GB limit on uncompressed data would
34
+ * translate to a limit of around 6 GB after compression. This is a high limit
35
+ * compared to the default 10GB Actions Cache capacity, but enforcement of Actions
36
+ * Cache quotas is not immediate.
35
37
*/
36
- const OVERLAY_BASE_DATABASE_MAX_UPLOAD_SIZE_MB = 6000 ;
38
+ const OVERLAY_BASE_DATABASE_MAX_UPLOAD_SIZE_MB = 15000 ;
37
39
const OVERLAY_BASE_DATABASE_MAX_UPLOAD_SIZE_BYTES =
38
40
OVERLAY_BASE_DATABASE_MAX_UPLOAD_SIZE_MB * 1_000_000 ;
39
41
0 commit comments