Remove mirrors reflector in perf

This commit is contained in:
Tobe O 2018-11-15 16:21:46 -05:00
parent 8ca8a9af3f
commit 42fd602492
2 changed files with 2 additions and 2 deletions

View file

@ -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({

View file

@ -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!'));