diff options
| author | Teddy Wing | 2020-10-10 23:59:46 +0200 |
|---|---|---|
| committer | Teddy Wing | 2020-10-10 23:59:46 +0200 |
| commit | 62a560b5b332cb79f57f74c85f6fec585a94d3b6 (patch) | |
| tree | f248c0a5ae03edca1d383fbe458141875ddcf5cf | |
| parent | 3e8c1da7eb84548ea783edd04ad4bfbfd490faac (diff) | |
| download | Drop-Serve-62a560b5b332cb79f57f74c85f6fec585a94d3b6.tar.bz2 | |
Reduce sleep before opening page in browser to 0.5 seconds
There's a noticeable delay with one second.
| -rw-r--r-- | Drop Serve/DropZone.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Drop Serve/DropZone.m b/Drop Serve/DropZone.m index df3667c..e97804d 100644 --- a/Drop Serve/DropZone.m +++ b/Drop Serve/DropZone.m @@ -78,7 +78,7 @@ [_status_view setHidden:NO]; // Sleep to give the server time to start up before opening the page. - [NSThread sleepForTimeInterval:1]; + [NSThread sleepForTimeInterval:0.5]; [Server openInBrowser]; } |
