Total Complexity | 0 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | # coding: utf-8 |
||
7 | 1 | class Speedhack(Model): |
|
8 | 1 | check_server_time_speed = BooleanType( |
|
9 | default=True, |
||
10 | required=True, |
||
11 | ) |
||
12 | 1 | check_client_time_speed = BooleanType( |
|
13 | default=False, |
||
14 | required=True, |
||
15 | ) |
||
16 | 1 | max_time_difference = FloatType( |
|
17 | min_value=0.01, |
||
18 | default=0.2, |
||
19 | required=True, |
||
20 | ) |
||
21 | 1 | max_time_difference_period = IntType( |
|
22 | min_value=1, |
||
23 | max_value=1000, |
||
24 | default=17, |
||
25 | required=True, |
||
26 | ) |
||
27 |