Skip to content

Commit

Permalink
chores
Browse files Browse the repository at this point in the history
  • Loading branch information
yujonglee committed Jun 23, 2024
1 parent a94e52b commit 9738fb2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions core/config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ config :logger, level: :warning
config :phoenix, :plug_init_mode, :runtime

config :canary, Oban, testing: :inline

config :ash, :disable_async?, true
config :ash, :missed_notifications, :ignore
6 changes: 3 additions & 3 deletions core/lib/canary/crawler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ defmodule Canary.Crawler do
Crawler.crawl(
url,
host: URI.new!(url).host,
workers: 20,
interval: 5,
workers: 10,
interval: 10,
max_pages: 100 * 100,
max_depths: 3,
max_depths: 5,
url_filter: Canary.Crawler.Filter,
scraper: Canary.Crawler.Scraper,
store_pid: store_pid,
Expand Down
2 changes: 1 addition & 1 deletion core/test/canary/session_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule Canary.Test.Session do
setup :set_mox_from_context
setup :verify_on_exit!

test "" do
test "it sends messages" do
Canary.Sessions.Responder.Mock
|> expect(:call, fn %{
handle_message: handle_message,
Expand Down

0 comments on commit 9738fb2

Please sign in to comment.