Skip to content

Commit

Permalink
Item11349: Save some TopicUserMappingContrib runtime
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@13792 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
PaulHarvey authored and PaulHarvey committed Jan 23, 2012
1 parent f083956 commit cd0b806
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ sub set_up_for_verify {
$Foswiki::cfg{Register}{AllowLoginName} = 1;
$Foswiki::cfg{Register}{EnableNewUserRegistration} = 1;

# Reduced runtimes from ~17s down to ~3s elapsed on my machine
$Foswiki::cfg{Store}{Implementation} = "Foswiki::Store::RcsLite";

try {
$this->createNewFoswikiSession( $Foswiki::cfg{DefaultUserWikiName} );
Foswiki::Func::createWeb($testUsersWeb);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ sub set_up_for_verify {
$Foswiki::cfg{Register}{AllowLoginName} = 1;
$Foswiki::cfg{Register}{EnableNewUserRegistration} = 1;

# Reduced runtimes from ~17s down to ~3s elapsed on my machine
$Foswiki::cfg{Store}{Implementation} = "Foswiki::Store::RcsLite";

try {
$this->createNewFoswikiSession( $Foswiki::cfg{AdminUserLogin} );
Foswiki::Func::createWeb($testUsersWeb);
Expand Down

0 comments on commit cd0b806

Please sign in to comment.