Bugzilla – Attachment 58061 Details for
Bug 15108
OAI-PMH provider improvements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15108: [QA Follow-up] Remove the sleep
Bug-15108-QA-Follow-up-Remove-the-sleep.patch (text/plain), 1.31 KB, created by
Marcel de Rooy
on 2016-12-09 10:29:03 UTC
(
hide
)
Description:
Bug 15108: [QA Follow-up] Remove the sleep
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-12-09 10:29:03 UTC
Size:
1.31 KB
patch
obsolete
>From df608bdc3f66727773705b0dd1fde19b04ad3628 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 9 Dec 2016 11:26:33 +0100 >Subject: [PATCH] Bug 15108: [QA Follow-up] Remove the sleep >Content-Type: text/plain; charset=utf-8 > >If we order by biblionumber within the same timestamp, there is no >need to wait two seconds. Test is 20 seconds faster too. (Especially the >last 2 seconds were very annoying :-) > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > Koha/OAI/Server/ListBase.pm | 2 +- > t/db_dependent/OAI/Server.t | 1 - > 2 files changed, 1 insertion(+), 2 deletions(-) > >diff --git a/Koha/OAI/Server/ListBase.pm b/Koha/OAI/Server/ListBase.pm >index e225371..ff4ce6e 100644 >--- a/Koha/OAI/Server/ListBase.pm >+++ b/Koha/OAI/Server/ListBase.pm >@@ -79,7 +79,7 @@ sub GetRecords { > } > > $sql .= " >- ORDER BY timestamp >+ ORDER BY timestamp,biblionumber > "; > > # Use a subquery for sets since it allows us to use an index in >diff --git a/t/db_dependent/OAI/Server.t b/t/db_dependent/OAI/Server.t >index 8a177c0..483978e 100644 >--- a/t/db_dependent/OAI/Server.t >+++ b/t/db_dependent/OAI/Server.t >@@ -112,7 +112,6 @@ foreach( 1..10 ) { > }, > }, > }; >- sleep 2; # FIXME Why do we need this sleep? > } > > my $syspref = { >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15108
:
44317
|
44318
|
51962
|
52416
|
52422
|
52423
|
53853
|
53854
|
56813
|
56844
|
58058
|
58059
|
58060
|
58061
|
58062
|
58063
|
58064
|
58065
|
58072
|
58080
|
58245
|
58246
|
58247
|
58248
|
58249
|
58250
|
58251
|
60260
|
60331
|
60608
|
60835
|
60836
|
63172
|
63173
|
63174