fix(view_factory): fix caching of views

Previous implementation had bugs, and did not cache per ProtoView.
This commit is contained in:
Tobias Bosch
2015-04-10 09:34:46 -07:00
parent 4e2316c742
commit e34146fc14
6 changed files with 195 additions and 44 deletions

View File

@ -202,7 +202,7 @@ function setup() {
});
reflector.registerType(rvf.VIEW_POOL_CAPACITY, {
"factory": () => 100000,
"factory": () => 10000,
"parameters": [],
"annotations": []
});
@ -222,7 +222,7 @@ function setup() {
});
reflector.registerType(VIEW_POOL_CAPACITY, {
"factory": () => 100000,
"factory": () => 10000,
"parameters": [],
"annotations": []
});
@ -261,7 +261,7 @@ function setup() {
});
reflector.registerType(rvf.VIEW_POOL_CAPACITY, {
"factory": () => 100000,
"factory": () => 10000,
"parameters": [],
"annotations": []
});
@ -281,7 +281,7 @@ function setup() {
});
reflector.registerType(VIEW_POOL_CAPACITY, {
"factory": () => 100000,
"factory": () => 10000,
"parameters": [],
"annotations": []
});