1 package LJ
::PersistentQueue
;
6 use LJ
::Data
::Queue
::Persistent
;
9 my ($class, %opts) = @_;
11 my $dbh = delete $opts{dbh
} || LJ
::get_db_writer
();
13 return LJ
::Data
::Queue
::Persistent
->new(
14 table
=> 'persistent_queue',
28 return LJ
::PersistentQueue
->new(id
=> $id, max_size
=> $size);