My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 17 attachment: maintain.patch (881 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Index: plugins/substruct/app/models/session.rb
===================================================================
--- plugins/substruct/app/models/session.rb (revision 43)
+++ plugins/substruct/app/models/session.rb (working copy)
@@ -1,3 +1,2 @@
class Session < ActiveRecord::Base
- SESSION_TIMEOUT = 4.hours
-end
\ No newline at end of file
+end
Index: plugins/substruct/tasks/substruct.rake
===================================================================
--- plugins/substruct/tasks/substruct.rake (revision 43)
+++ plugins/substruct/tasks/substruct.rake (working copy)
@@ -1,4 +1,7 @@
namespace :substruct do
+
+ # timeout in seconds (4 hours)
+ SESSION_TIMEOUT = 14400

SUBSTRUCT_DATA_DUMP_MODELS = [
'ContentNode', 'Country', 'Preference', 'OrderShippingType',
@@ -268,4 +271,4 @@
puts
raise
end
-end
\ No newline at end of file
+end
Powered by Google Project Hosting