Update multi_server.dart
This commit is contained in:
parent
4b98bedfc8
commit
48cf9dc6b9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue