[livejournal] r19289: LJSUP-9104: move uniqs to global cluster...
Committer: vsukhanov
LJSUP-9104: move uniqs to global cluster.U trunk/cgi-bin/LJ/UniqCookie.pm
Modified: trunk/cgi-bin/LJ/UniqCookie.pm
===================================================================
--- trunk/cgi-bin/LJ/UniqCookie.pm 2011-06-15 08:08:40 UTC (rev 19288)
+++ trunk/cgi-bin/LJ/UniqCookie.pm 2011-06-15 08:30:23 UTC (rev 19289)
@@ -159,7 +159,7 @@
croak "invalid userid arg: $uid_arg"
unless $uid;
- my $dbh = LJ::get_uniq_db_writer()
+ my $dbh = LJ::get_db_writer()
or die "unable to contact uniq master for uniq mapping";
# allow tests to specify an insertion time callback which specifies
@@ -272,7 +272,7 @@
return @$memval;
}
- my $dbh = LJ::get_uniq_db_writer() #FIXME should use reader when appropriate
+ my $dbh = LJ::get_db_writer()
or die "unable to contact uniq writer";
my $limit = $window_size + 1;
@@ -327,7 +327,7 @@
return @$memval;
}
- my $dbh = LJ::get_uniq_db_writer() # FIXME switch to reader
+ my $dbh = LJ::get_db_writer()
or die "unable to contact uniq reader";
my $limit = $window_size + 1;
