mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge pull request #9676 from appwrite/feat-playground-templates
Feat: Add playground templates
This commit is contained in:
@@ -224,8 +224,12 @@ class Screenshot extends Action
|
||||
$idLight = '';
|
||||
$idDark = '';
|
||||
|
||||
if ($templateId === 'starter-for-react-native') {
|
||||
Console::warning("React Native template takes long to build, increasing waiting time ...");
|
||||
$slowTemplates = [
|
||||
'starter-for-react-native',
|
||||
'playground-for-react-native'
|
||||
];
|
||||
if (\in_array($templateId, $slowTemplates)) {
|
||||
Console::warning("Build for this template is slow, increasing waiting time ...");
|
||||
$attempts = 180; // 15 min
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user