mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Open the runtime lookup to Deployments\Jobs storage() overrides
storage() is the documented seam for alternate output/cache strategies (e.g. S3 artifacts instead of the shared volume), and any override needs the runtime image to derive the cache key — same as the default strategy. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d53dcc519b
commit
35c67a72cc
1 file changed
+1
-1
@@ -270,7 +270,7 @@ readonly class Jobs extends Deployments
|
||||
];
|
||||
}
|
||||
|
||||
private static function runtime(Document $function, string $version): array
|
||||
protected static function runtime(Document $function, string $version): array
|
||||
{
|
||||
$runtimes = Config::getParam($version === 'v2' ? 'runtimes-v2' : 'runtimes', []);
|
||||
$runtime = $runtimes[$function->getAttribute('runtime')] ?? null;
|
||||
|
||||
Reference in new issue
Block a user