From: Charles McGarvey Date: Wed, 13 Jul 2011 20:51:11 +0000 (-0600) Subject: wait on the server process for 2.5 seconds X-Git-Tag: v0.3.2~3 X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=a56d46f6e158c1efc8d2edc17f1fa3bfa7ee7003;p=chaz%2Fvimcoder wait on the server process for 2.5 seconds --- diff --git a/src/com/dogcows/Editor.java b/src/com/dogcows/Editor.java index 203d8ec..674ecb9 100644 --- a/src/com/dogcows/Editor.java +++ b/src/com/dogcows/Editor.java @@ -236,7 +236,7 @@ public class Editor * before the timeout, we will assume it is not backgrounding and * that everything worked. This works as long as the Vim server is * able to start within the stall period. */ - long expire = System.currentTimeMillis() + 1000; + long expire = System.currentTimeMillis() + 2500; while (System.currentTimeMillis() < expire) { Thread.yield();