Skip to content

Commit

Permalink
Merge pull request #13 from danxexe/fix-enum-partition-warning
Browse files Browse the repository at this point in the history
Fix Enum.partition deprecation warning
  • Loading branch information
sheharyarn authored Apr 23, 2019
2 parents 9c820ac + 5ec3b98 commit a2cd681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/que/server_supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ defmodule Que.ServerSupervisor do
Que.Persistence.incomplete
|> Enum.map(&(&1.worker))
|> Enum.uniq
|> Enum.partition(&Que.Worker.valid?/1)
|> Enum.split_with(&Que.Worker.valid?/1)

# Notify user about pending jobs for Invalid Workers
if length(invalid) > 0 do
Expand Down

0 comments on commit a2cd681

Please sign in to comment.