We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Improving Elixir FTP Client Functionality with GenServer
21
clicks
Source: elixirforum.com
The content critiques current code for an Elixir FTP client that uses GenServer to handle FTP operations. It highlights a specific problem where the call to :ftp.ls/0 can crash if the response takes longer than 5 seconds, suggesting that a longer timeout or using :infinity could be better. The author shares a related personal experience with FTP, emphasizing the importance of handling slow server issues and proposing a fault-tolerance approach by reconnecting for every operation.
Related posts
© HashMerge 2024