mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
default
This commit is contained in:
@@ -216,7 +216,7 @@ App::error()
|
||||
])));
|
||||
} else {
|
||||
$document['count']++;
|
||||
$max = App::getEnv('_APP_TIMEOUT_MAX', 1); // todo: set default value
|
||||
$max = App::getEnv('_APP_TIMEOUT_MAX', 2); // todo: set default value
|
||||
if ($document['count'] > $max) {
|
||||
$document['blocked'] = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user