This repository was archived by the owner on Feb 22, 2018. It is now read-only.
File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ class ScopeEvent {
65
65
@Injectable ()
66
66
class ScopeDigestTTL {
67
67
final int ttl;
68
- ScopeDigestTTL (): ttl = 5 ;
68
+ ScopeDigestTTL (): ttl = 10 ;
69
69
ScopeDigestTTL .value (this .ttl);
70
70
}
71
71
@@ -678,7 +678,7 @@ class RootScope extends Scope {
678
678
* [digest] calls the associated [ReactionFn] . Since a [ReactionFn] may further change the model,
679
679
* [digest] processes changes multiple times until no more changes are detected.
680
680
*
681
- * If the model does not stabilize within 5 iterations, an exception is thrown. See
681
+ * If the model does not stabilize within 10 iterations, an exception is thrown. See
682
682
* [ScopeDigestTTL] .
683
683
*/
684
684
void digest () {
Original file line number Diff line number Diff line change @@ -1218,11 +1218,11 @@ void main() {
1218
1218
1219
1219
expect (() {
1220
1220
rootScope.digest ();
1221
- }).toThrow ('Model did not stabilize in 5 digests. '
1222
- 'Last 3 iterations:\n '
1223
- 'a: 2 <= 1 , b: 2 <= 1 \n '
1224
- 'a: 3 <= 2 , b: 3 <= 2 \n '
1225
- 'a: 4 <= 3 , b: 4 <= 3 ' );
1221
+ }).toThrow ('Model did not stabilize in 10 digests. '
1222
+ 'Last 3 iterations:\n '
1223
+ 'a: 7 <= 6 , b: 7 <= 6 \n '
1224
+ 'a: 8 <= 7 , b: 8 <= 7 \n '
1225
+ 'a: 9 <= 8 , b: 9 <= 8 ' );
1226
1226
});
1227
1227
1228
1228
@@ -1232,7 +1232,7 @@ void main() {
1232
1232
1233
1233
expect (() {
1234
1234
rootScope.digest ();
1235
- }).toThrow ('Model did not stabilize in 5 digests. '
1235
+ }).toThrow ('Model did not stabilize in 10 digests. '
1236
1236
'Last 3 iterations:\n '
1237
1237
'async:1\n '
1238
1238
'async:1\n '
You can’t perform that action at this time.
0 commit comments