Update multi_server.dart

This commit is contained in:
Tobe O 2017-03-23 08:50:03 -04:00 committed by GitHub
parent 4b98bedfc8
commit 48cf9dc6b9

View file

@ -19,7 +19,7 @@ main() async {
app.responseFinalizers.add(gzip()); app.responseFinalizers.add(gzip());
// Cache static assets - just to lower response time // Cache static assets - just to lower response time
await app.configure(cacheResponses(filters: [new RegExp('images/\.*')])); await app.configure(cacheResponses(filters: [new RegExp(r'images/\.*')]));
// Start up 5 instances of our main application // Start up 5 instances of our main application
await app.spawnIsolates(cluster, count: 5); await app.spawnIsolates(cluster, count: 5);