Commit eb71a5e1 authored by Hyun Soo  Kim's avatar Hyun Soo Kim
Browse files

set timeout to 5 minutes

parent a87aeffd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -217,7 +217,7 @@ public class Main {
        } catch (ConnectException e) {
            // If a client connection fails, run the server side of the program
            ServerSocket serverSocket = new ServerSocket(PORT_NUMBER);
            serverSocket.setSoTimeout(10 * MINUTE);
            serverSocket.setSoTimeout(5 * MINUTE);

            // Set the default filename for the database
            String dbName = "molecule.db";