2 Branches regarding template interruption

Stereomike

Client
Регистрация
29.03.2011
Сообщения
221
Благодарностей
30
Баллы
0
1. A branch (or template specific options) to shut down the instance for certain conditions
e.g. dnserrordiagoff_webOC or browser errors, taking too long without loading anything (measure download bandwidth of instance, shut down template if bandwidth below x).
On a closer look, a branch wouldn't make sense, these shut-down conditions must lay outside of the program.

2. A branch that gets triggered on any unsuccessful exit. So if the instance failed, it could write something to a logfile. Or if you let your templates take files at the start, let the template write the file back to the folder, when it couldn't succeed.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)