Skip to content

Commit

Permalink
Use full uri for the jid for parity with purge revalidate jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
pintsized committed Jun 9, 2016
1 parent 979838c commit 3262290
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/ledge/ledge.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2509,9 +2509,7 @@ function _M.revalidate_in_background(self, update_revalidation_data)
}, {
jid = ngx_md5(
"revalidate:" ..
ngx_var.scheme ..
":" .. (reval_headers.host or "") ..
":" .. ngx_var.request_uri
self:full_uri()
),
tags = { "revalidate" },
priority = 4,
Expand Down

0 comments on commit 3262290

Please sign in to comment.