Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes weird GenServer bug #225

Closed
wants to merge 1 commit into from
Closed

Commits on Sep 18, 2022

  1. Fixes weird GenServer bug

    As pointed out in this issue
    elixir-crawly#224,
    `GenServer.call(__MODULE__, {:pop, Elixir.Homebase})`, which is invoked
    from the worker.ex
    [here](https://github.com/elixir-crawly/crawly/blob/13fe05b400db46716729bd15e4ef1b67d12db5ee/lib/crawly/worker.ex#L40),
    returns the value `:ok`, shortly after starting the spider. With this
    change, the worker treats the returned `:ok` value similar to a returned
    `nil`, and waits for a request to be available.
    azrosen92 committed Sep 18, 2022
    Configuration menu
    Copy the full SHA
    8326c57 View commit details
    Browse the repository at this point in the history