Remove mirrors reflector in perf
This commit is contained in:
parent
8ca8a9af3f
commit
42fd602492
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ main() async {
|
|||
|
||||
serverMain(_) async {
|
||||
var app = new Angel();
|
||||
var http = new AngelHttp.custom(app, startShared); // Run a cluster
|
||||
var http = new AngelHttp.custom(app, startShared, useZone: false); // Run a cluster
|
||||
|
||||
app.get('/', (req, res) {
|
||||
return res.serialize({
|
||||
|
|
|
@ -24,7 +24,7 @@ main() async {
|
|||
}
|
||||
|
||||
void start(int id) {
|
||||
var app = new Angel(reflector: MirrorsReflector());
|
||||
var app = new Angel();
|
||||
var http = new AngelHttp.custom(app, startShared, useZone: false);
|
||||
|
||||
app.get('/', (req, res) => res.write('Hello, world!'));
|
||||
|
|
Loading…
Reference in a new issue