Skip to content

Commit ff16251

Browse files
committed
Revert "wip"
This reverts commit 26169bb.
1 parent 26169bb commit ff16251

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

Diff for: lib/hexdocs/cdn/fastly.ex

+3-9
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,13 @@ defmodule Hexdocs.CDN.Fastly do
99
service_id = Application.get_env(:hexdocs, service)
1010
sleep_time = div(Application.get_env(:hexdocs, :fastly_purge_wait, @fastly_purge_wait), 2)
1111

12-
# TODO:
13-
# {:ok, 200, _, _} = post("service/#{service_id}/purge", body)
14-
{:ok, _, _, _} = post("service/#{service_id}/purge", body)
12+
{:ok, 200, _, _} = post("service/#{service_id}/purge", body)
1513

1614
Task.Supervisor.start_child(Hexdocs.Tasks, fn ->
1715
Process.sleep(sleep_time)
18-
# TODO:
19-
# {:ok, 200, _, _} = post("service/#{service_id}/purge", body)
20-
{:ok, _, _, _} = post("service/#{service_id}/purge", body)
16+
{:ok, 200, _, _} = post("service/#{service_id}/purge", body)
2117
Process.sleep(sleep_time)
22-
# TODO:
23-
# {:ok, 200, _, _} = post("service/#{service_id}/purge", body)
24-
{:ok, _, _, _} = post("service/#{service_id}/purge", body)
18+
{:ok, 200, _, _} = post("service/#{service_id}/purge", body)
2519
end)
2620

2721
:ok

0 commit comments

Comments
 (0)