Просмотр исходного кода

Add tcp_options to start_link/1 spec

#126
Jan Uhlig 6 лет назад
Родитель
Сommit
c65651bfe7
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/mysql.erl

+ 2 - 1
src/mysql.erl

@@ -135,7 +135,8 @@
                    {queries, [iodata()]} |
                    {query_timeout, timeout()} |
                    {found_rows, boolean()} |
-                   {query_cache_time, non_neg_integer()},
+                   {query_cache_time, non_neg_integer()} |
+                   {tcp_options, [gen_tcp:connect_option()]},
          ServerName :: {local, Name :: atom()} |
                        {global, GlobalName :: term()} |
                        {via, Module :: atom(), ViaName :: term()},