Skip to content

Commit

Permalink
sql: remove enclosure_to_hash() LOCKing
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Jun 15, 2017
1 parent 0b76a86 commit e779e31
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pg_var.sql
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ CREATE OR REPLACE FUNCTION enclosure_to_hash(
DECLARE
next_url RECORD;
BEGIN
LOCK "enclosure_torrents" IN SHARE ROW EXCLUSIVE MODE;
SELECT enclosures_to_hash.url, enclosures_to_hash.last_update
INTO next_url
FROM enclosures_to_hash
Expand Down

0 comments on commit e779e31

Please sign in to comment.