fix(view_factory): fix caching of views
Previous implementation had bugs, and did not cache per ProtoView.
This commit is contained in:
@ -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": []
|
||||
});
|
||||
|
Reference in New Issue
Block a user