pgq_web 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ # Logfile created on 2012-05-26 15:59:00 +0400 by logger.rb/31641
2
+ Worker for (places) started
@@ -31,3 +31,84 @@
31
31
  2012-05-26 15:25:06,002 17254 INFO {ticks: 20}
32
32
  2012-05-26 15:25:07,386 17254 INFO {maint_duration: 0.308872938156}
33
33
  2012-05-26 15:30:06,071 17254 INFO {ticks: 20}
34
+ 2012-05-26 15:35:06,343 17254 INFO {ticks: 20}
35
+ 2012-05-26 15:35:08,303 17254 INFO {maint_duration: 0.442555904388}
36
+ 2012-05-26 15:40:06,400 17254 INFO {ticks: 20}
37
+ 2012-05-26 15:45:06,485 17254 INFO {ticks: 20}
38
+ 2012-05-26 15:45:08,821 17254 INFO {maint_duration: 0.0390989780426}
39
+ 2012-05-26 15:50:06,568 17254 INFO {ticks: 20}
40
+ 2012-05-26 15:55:06,720 17254 INFO {ticks: 20}
41
+ 2012-05-26 15:55:09,325 17254 INFO {maint_duration: 0.0318200588226}
42
+ 2012-05-26 16:00:06,799 17254 INFO {ticks: 20}
43
+ 2012-05-26 16:05:06,896 17254 INFO {ticks: 20}
44
+ 2012-05-26 16:05:10,139 17254 INFO {maint_duration: 0.329801082611}
45
+ 2012-05-26 16:10:06,927 17254 INFO {ticks: 20}
46
+ 2012-05-26 16:15:07,067 17254 INFO {ticks: 20}
47
+ 2012-05-26 16:15:10,670 17254 INFO {maint_duration: 0.0276899337769}
48
+ 2012-05-26 16:20:07,082 17254 INFO {ticks: 20}
49
+ 2012-05-26 16:25:07,098 17254 INFO {ticks: 20}
50
+ 2012-05-26 16:25:11,262 17254 INFO Rotating places
51
+ 2012-05-26 16:25:11,321 17254 INFO {maint_duration: 0.181601047516}
52
+ 2012-05-26 16:30:07,164 17254 INFO {ticks: 20}
53
+ 2012-05-26 16:35:07,497 17254 INFO {ticks: 20}
54
+ 2012-05-26 16:35:12,025 17254 INFO {maint_duration: 0.223779916763}
55
+ 2012-05-26 16:40:07,553 17254 INFO {ticks: 20}
56
+ 2012-05-26 16:45:07,648 17254 INFO {ticks: 20}
57
+ 2012-05-26 16:45:12,570 17254 INFO {maint_duration: 0.0961761474609}
58
+ 2012-05-26 16:50:07,737 17254 INFO {ticks: 20}
59
+ 2012-05-26 16:55:08,816 17254 INFO {ticks: 20}
60
+ 2012-05-26 16:55:13,546 17254 INFO {maint_duration: 0.497715950012}
61
+ 2012-05-26 17:00:08,833 17254 INFO {ticks: 20}
62
+ 2012-05-26 17:05:08,869 17254 INFO {ticks: 20}
63
+ 2012-05-26 17:05:15,517 17254 INFO {maint_duration: 1.44490599632}
64
+ 2012-05-26 17:10:08,947 17254 INFO {ticks: 20}
65
+ 2012-05-26 17:15:09,661 17254 INFO {ticks: 20}
66
+ 2012-05-26 17:15:16,280 17254 INFO {maint_duration: 0.235865831375}
67
+ 2012-05-26 17:20:09,718 17254 INFO {ticks: 20}
68
+ 2012-05-26 17:25:09,756 17254 INFO {ticks: 20}
69
+ 2012-05-26 17:25:16,993 17254 INFO {maint_duration: 0.198404073715}
70
+ 2012-05-26 17:30:09,781 17254 INFO {ticks: 20}
71
+ 2012-05-26 17:35:10,529 17254 INFO {ticks: 20}
72
+ 2012-05-26 17:35:17,990 17254 INFO {maint_duration: 0.440990924835}
73
+ 2012-05-26 17:40:10,558 17254 INFO {ticks: 20}
74
+ 2012-05-26 17:45:10,613 17254 INFO {ticks: 20}
75
+ 2012-05-26 17:45:18,460 17254 INFO {maint_duration: 0.0336399078369}
76
+ 2012-05-26 17:50:10,633 17254 INFO {ticks: 20}
77
+ 2012-05-26 17:55:11,049 17254 INFO {ticks: 20}
78
+ 2012-05-26 17:55:18,987 17254 INFO {maint_duration: 0.0344069004059}
79
+ 2012-05-26 18:00:11,061 17254 INFO {ticks: 20}
80
+ 2012-05-26 18:05:11,106 17254 INFO {ticks: 20}
81
+ 2012-05-26 18:05:19,759 17254 INFO {maint_duration: 0.299482107162}
82
+ 2012-05-26 18:10:11,139 17254 INFO {ticks: 20}
83
+ 2012-05-26 18:15:11,509 17254 INFO {ticks: 20}
84
+ 2012-05-26 18:15:20,281 17254 INFO {maint_duration: 0.0522379875183}
85
+ 2012-05-26 18:20:11,574 17254 INFO {ticks: 20}
86
+ 2012-05-26 18:25:11,580 17254 INFO {ticks: 20}
87
+ 2012-05-26 18:25:20,955 17254 INFO Rotating places
88
+ 2012-05-26 18:25:20,978 17254 INFO {maint_duration: 0.239580869675}
89
+ 2012-05-26 18:30:11,621 17254 INFO {ticks: 20}
90
+ 2012-05-26 18:35:11,942 17254 INFO {ticks: 20}
91
+ 2012-05-26 18:35:21,815 17254 INFO {maint_duration: 0.309923171997}
92
+ 2012-05-26 18:40:12,030 17254 INFO {ticks: 20}
93
+ 2012-05-26 18:45:12,106 17254 INFO {ticks: 20}
94
+ 2012-05-26 18:45:22,338 17254 INFO {maint_duration: 0.0347468852997}
95
+ 2012-05-26 18:50:12,194 17254 INFO {ticks: 20}
96
+ 2012-05-26 18:55:12,409 17254 INFO {ticks: 20}
97
+ 2012-05-26 18:55:22,813 17254 INFO {maint_duration: 0.0393090248108}
98
+ 2012-05-26 19:00:12,501 17254 INFO {ticks: 20}
99
+ 2012-05-26 19:05:12,504 17254 INFO {ticks: 20}
100
+ 2012-05-26 19:05:23,618 17254 INFO {maint_duration: 0.408716917038}
101
+ 2012-05-26 19:10:12,547 17254 INFO {ticks: 20}
102
+ 2012-05-26 19:15:12,871 17254 INFO {ticks: 20}
103
+ 2012-05-26 19:15:24,044 17254 INFO {maint_duration: 0.0388331413269}
104
+ 2012-05-26 19:20:12,949 17254 INFO {ticks: 20}
105
+ 2012-05-26 19:25:12,988 17254 INFO {ticks: 20}
106
+ 2012-05-26 19:25:24,539 17254 INFO {maint_duration: 0.057580947876}
107
+ 2012-05-26 19:30:13,046 17254 INFO {ticks: 20}
108
+ 2012-05-26 19:35:13,501 17254 INFO {ticks: 20}
109
+ 2012-05-26 19:35:25,438 17254 INFO {maint_duration: 0.443940162659}
110
+ 2012-05-26 19:40:13,547 17254 INFO {ticks: 20}
111
+ 2012-05-26 19:45:13,615 17254 INFO {ticks: 20}
112
+ 2012-05-26 19:45:25,937 17254 INFO {maint_duration: 0.0380728244781}
113
+ 2012-05-26 19:48:43,364 17254 CRITICAL Job pgqadm_development crashed: <class 'psycopg2.OperationalError'>: 'terminating connection due to administrator command
114
+ SSL connection has been closed unexpectedly' (<traceback object at 0xb721c7ac>: [' File "/usr/lib/python2.7/dist-packages/skytools/scripting.py", line 517, in run_once\n return self.work()\n', ' File "/usr/lib/python2.7/dist-packages/pgq/ticker.py", line 156, in work\n cx.execute(self.seq_query)\n', ' File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 121, in execute\n return _cursor.execute(self, query, vars)\n'])
@@ -16,3 +16,83 @@
16
16
  2012-05-26 15:25:20,755 17311 INFO {ticks: 10}
17
17
  2012-05-26 15:25:22,765 17311 INFO {maint_duration: 0.0678219795227}
18
18
  2012-05-26 15:30:20,801 17311 INFO {ticks: 10}
19
+ 2012-05-26 15:35:21,156 17311 INFO {ticks: 10}
20
+ 2012-05-26 15:35:23,558 17311 INFO {maint_duration: 0.348125934601}
21
+ 2012-05-26 15:40:21,188 17311 INFO {ticks: 10}
22
+ 2012-05-26 15:45:21,268 17311 INFO {ticks: 10}
23
+ 2012-05-26 15:45:24,032 17311 INFO {maint_duration: 0.0313138961792}
24
+ 2012-05-26 15:50:21,300 17311 INFO {ticks: 10}
25
+ 2012-05-26 15:55:21,517 17311 INFO {ticks: 10}
26
+ 2012-05-26 15:55:24,550 17311 INFO {maint_duration: 0.0281500816345}
27
+ 2012-05-26 16:00:21,600 17311 INFO {ticks: 10}
28
+ 2012-05-26 16:05:21,685 17311 INFO {ticks: 10}
29
+ 2012-05-26 16:05:25,271 17311 INFO {maint_duration: 0.268095970154}
30
+ 2012-05-26 16:10:21,732 17311 INFO {ticks: 10}
31
+ 2012-05-26 16:15:21,841 17311 INFO {ticks: 10}
32
+ 2012-05-26 16:15:25,792 17311 INFO {maint_duration: 0.0390031337738}
33
+ 2012-05-26 16:20:21,857 17311 INFO {ticks: 10}
34
+ 2012-05-26 16:25:21,890 17311 INFO {ticks: 10}
35
+ 2012-05-26 16:25:26,364 17311 INFO Rotating issues
36
+ 2012-05-26 16:25:26,388 17311 INFO {maint_duration: 0.0956988334656}
37
+ 2012-05-26 16:30:21,936 17311 INFO {ticks: 10}
38
+ 2012-05-26 16:35:22,145 17311 INFO {ticks: 10}
39
+ 2012-05-26 16:35:27,133 17311 INFO {maint_duration: 0.233496904373}
40
+ 2012-05-26 16:40:22,185 17311 INFO {ticks: 10}
41
+ 2012-05-26 16:45:22,213 17311 INFO {ticks: 10}
42
+ 2012-05-26 16:45:27,623 17311 INFO {maint_duration: 0.0374870300293}
43
+ 2012-05-26 16:50:22,290 17311 INFO {ticks: 10}
44
+ 2012-05-26 16:55:22,947 17311 INFO {ticks: 10}
45
+ 2012-05-26 16:55:28,189 17311 INFO {maint_duration: 0.0800731182098}
46
+ 2012-05-26 17:00:22,985 17311 INFO {ticks: 10}
47
+ 2012-05-26 17:05:23,004 17311 INFO {ticks: 10}
48
+ 2012-05-26 17:05:29,364 17311 INFO {maint_duration: 0.675102949142}
49
+ 2012-05-26 17:10:23,100 17311 INFO {ticks: 10}
50
+ 2012-05-26 17:15:23,338 17311 INFO {ticks: 10}
51
+ 2012-05-26 17:15:29,884 17311 INFO {maint_duration: 0.0306639671326}
52
+ 2012-05-26 17:20:23,337 17311 INFO {ticks: 10}
53
+ 2012-05-26 17:25:23,373 17311 INFO {ticks: 10}
54
+ 2012-05-26 17:25:30,397 17311 INFO {maint_duration: 0.0318930149078}
55
+ 2012-05-26 17:30:23,425 17311 INFO {ticks: 10}
56
+ 2012-05-26 17:35:23,799 17311 INFO {ticks: 10}
57
+ 2012-05-26 17:35:31,175 17311 INFO {maint_duration: 0.305850982666}
58
+ 2012-05-26 17:40:23,898 17311 INFO {ticks: 10}
59
+ 2012-05-26 17:45:23,964 17311 INFO {ticks: 10}
60
+ 2012-05-26 17:45:31,683 17311 INFO {maint_duration: 0.0294029712677}
61
+ 2012-05-26 17:50:23,986 17311 INFO {ticks: 10}
62
+ 2012-05-26 17:55:24,207 17311 INFO {ticks: 10}
63
+ 2012-05-26 17:55:32,179 17311 INFO {maint_duration: 0.0344879627228}
64
+ 2012-05-26 18:00:24,241 17311 INFO {ticks: 10}
65
+ 2012-05-26 18:05:24,282 17311 INFO {ticks: 10}
66
+ 2012-05-26 18:05:32,918 17311 INFO {maint_duration: 0.278989076614}
67
+ 2012-05-26 18:10:24,300 17311 INFO {ticks: 10}
68
+ 2012-05-26 18:15:24,305 17311 INFO {ticks: 10}
69
+ 2012-05-26 18:15:33,427 17311 INFO {maint_duration: 0.0303089618683}
70
+ 2012-05-26 18:20:24,406 17311 INFO {ticks: 10}
71
+ 2012-05-26 18:25:24,461 17311 INFO {ticks: 10}
72
+ 2012-05-26 18:25:33,950 17311 INFO {maint_duration: 0.0451309680939}
73
+ 2012-05-26 18:30:24,505 17311 INFO {ticks: 10}
74
+ 2012-05-26 18:35:24,595 17311 INFO {ticks: 10}
75
+ 2012-05-26 18:35:34,675 17311 INFO {maint_duration: 0.23548579216}
76
+ 2012-05-26 18:40:24,607 17311 INFO {ticks: 10}
77
+ 2012-05-26 18:45:24,666 17311 INFO {ticks: 10}
78
+ 2012-05-26 18:45:35,176 17311 INFO {maint_duration: 0.0320107936859}
79
+ 2012-05-26 18:50:24,744 17311 INFO {ticks: 10}
80
+ 2012-05-26 18:55:24,825 17311 INFO {ticks: 10}
81
+ 2012-05-26 18:55:35,663 17311 INFO {maint_duration: 0.0336079597473}
82
+ 2012-05-26 19:00:24,856 17311 INFO {ticks: 10}
83
+ 2012-05-26 19:05:24,936 17311 INFO {ticks: 10}
84
+ 2012-05-26 19:05:36,444 17311 INFO {maint_duration: 0.367125988007}
85
+ 2012-05-26 19:10:25,023 17311 INFO {ticks: 10}
86
+ 2012-05-26 19:15:25,047 17311 INFO {ticks: 10}
87
+ 2012-05-26 19:15:36,896 17311 INFO {maint_duration: 0.0466499328613}
88
+ 2012-05-26 19:20:25,079 17311 INFO {ticks: 10}
89
+ 2012-05-26 19:25:25,118 17311 INFO {ticks: 10}
90
+ 2012-05-26 19:25:37,418 17311 INFO {maint_duration: 0.0399439334869}
91
+ 2012-05-26 19:30:25,140 17311 INFO {ticks: 10}
92
+ 2012-05-26 19:35:25,154 17311 INFO {ticks: 10}
93
+ 2012-05-26 19:35:38,265 17311 INFO {maint_duration: 0.415367126465}
94
+ 2012-05-26 19:40:25,215 17311 INFO {ticks: 10}
95
+ 2012-05-26 19:45:25,256 17311 INFO {ticks: 10}
96
+ 2012-05-26 19:45:38,754 17311 INFO {maint_duration: 0.0312449932098}
97
+ 2012-05-26 19:48:43,340 17311 CRITICAL Job pgqadm_development2 crashed: <class 'psycopg2.OperationalError'>: 'terminating connection due to administrator command
98
+ SSL connection has been closed unexpectedly' (<traceback object at 0xb72887d4>: [' File "/usr/lib/python2.7/dist-packages/skytools/scripting.py", line 517, in run_once\n return self.work()\n', ' File "/usr/lib/python2.7/dist-packages/pgq/ticker.py", line 156, in work\n cx.execute(self.seq_query)\n', ' File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 121, in execute\n return _cursor.execute(self, query, vars)\n'])
@@ -0,0 +1,19 @@
1
+  (215.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
2
+  (50.8ms) SELECT distinct i.relname, d.indisunique, d.indkey, pg_get_indexdef(d.indexrelid), t.oid
3
+ FROM pg_class t
4
+ INNER JOIN pg_index d ON t.oid = d.indrelid
5
+ INNER JOIN pg_class i ON d.indexrelid = i.oid
6
+ WHERE i.relkind = 'i'
7
+ AND d.indisprimary = 'f'
8
+ AND t.relname = 'schema_migrations'
9
+ AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname = ANY (current_schemas(false)) )
10
+ ORDER BY i.relname
11
+
12
+  (65.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
14
+ Migrating to CreatePackFilesQueue (20120526095837)
15
+  (0.2ms) BEGIN
16
+  (0.7ms) SELECT pgq.create_queue('pack_files')
17
+ PG::Error: ERROR: schema "pgq" does not exist
18
+ : SELECT pgq.create_queue('pack_files')
19
+  (0.2ms) ROLLBACK
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pgq_web
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
5
- prerelease: false
4
+ hash: 27
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Makarchev Konstantin
@@ -15,13 +15,11 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-05-26 00:00:00 +04:00
18
+ date: 2012-09-22 00:00:00 +04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: rails
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
22
+ version_requirements: &id001 !ruby/object:Gem::Requirement
25
23
  none: false
26
24
  requirements:
27
25
  - - ~>
@@ -31,12 +29,12 @@ dependencies:
31
29
  - 3
32
30
  - 2
33
31
  version: "3.2"
32
+ prerelease: false
34
33
  type: :runtime
35
- version_requirements: *id001
34
+ requirement: *id001
35
+ name: rails
36
36
  - !ruby/object:Gem::Dependency
37
- name: jquery-rails
38
- prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
37
+ version_requirements: &id002 !ruby/object:Gem::Requirement
40
38
  none: false
41
39
  requirements:
42
40
  - - ">="
@@ -45,12 +43,12 @@ dependencies:
45
43
  segments:
46
44
  - 0
47
45
  version: "0"
46
+ prerelease: false
48
47
  type: :runtime
49
- version_requirements: *id002
48
+ requirement: *id002
49
+ name: jquery-rails
50
50
  - !ruby/object:Gem::Dependency
51
- name: pgq
52
- prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
51
+ version_requirements: &id003 !ruby/object:Gem::Requirement
54
52
  none: false
55
53
  requirements:
56
54
  - - ">="
@@ -61,12 +59,12 @@ dependencies:
61
59
  - 1
62
60
  - 2
63
61
  version: 0.1.2
62
+ prerelease: false
64
63
  type: :runtime
65
- version_requirements: *id003
64
+ requirement: *id003
65
+ name: pgq
66
66
  - !ruby/object:Gem::Dependency
67
- name: haml-rails
68
- prerelease: false
69
- requirement: &id004 !ruby/object:Gem::Requirement
67
+ version_requirements: &id004 !ruby/object:Gem::Requirement
70
68
  none: false
71
69
  requirements:
72
70
  - - ">="
@@ -75,12 +73,12 @@ dependencies:
75
73
  segments:
76
74
  - 0
77
75
  version: "0"
76
+ prerelease: false
78
77
  type: :runtime
79
- version_requirements: *id004
78
+ requirement: *id004
79
+ name: haml-rails
80
80
  - !ruby/object:Gem::Dependency
81
- name: will_paginate
82
- prerelease: false
83
- requirement: &id005 !ruby/object:Gem::Requirement
81
+ version_requirements: &id005 !ruby/object:Gem::Requirement
84
82
  none: false
85
83
  requirements:
86
84
  - - ">="
@@ -89,12 +87,12 @@ dependencies:
89
87
  segments:
90
88
  - 0
91
89
  version: "0"
90
+ prerelease: false
92
91
  type: :runtime
93
- version_requirements: *id005
92
+ requirement: *id005
93
+ name: will_paginate
94
94
  - !ruby/object:Gem::Dependency
95
- name: pg
96
- prerelease: false
97
- requirement: &id006 !ruby/object:Gem::Requirement
95
+ version_requirements: &id006 !ruby/object:Gem::Requirement
98
96
  none: false
99
97
  requirements:
100
98
  - - ">="
@@ -103,8 +101,10 @@ dependencies:
103
101
  segments:
104
102
  - 0
105
103
  version: "0"
104
+ prerelease: false
106
105
  type: :development
107
- version_requirements: *id006
106
+ requirement: *id006
107
+ name: pg
108
108
  description: Web interface for pgq gem. Inspect pgq and londiste queues
109
109
  email:
110
110
  - kostya27@gmail.com
@@ -223,7 +223,9 @@ files:
223
223
  - test/dummy/log/pgq_issues,cleanup.log
224
224
  - test/dummy/log/development.log
225
225
  - test/dummy/log/pgqadm_development.log
226
+ - test/dummy/log/pgq_places.log
226
227
  - test/dummy/log/pgq_places,cleanup.log
228
+ - test/dummy/log/test.log
227
229
  - test/dummy/log/pgq_places,issues.log
228
230
  - test/dummy/log/pgqadm_development2.log
229
231
  - test/dummy/public/favicon.ico
@@ -261,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
261
263
  requirements: []
262
264
 
263
265
  rubyforge_project:
264
- rubygems_version: 1.3.7
266
+ rubygems_version: 1.4.2
265
267
  signing_key:
266
268
  specification_version: 3
267
269
  summary: Web interface for pgq gem. Inspect pgq and londiste queues
@@ -339,7 +341,9 @@ test_files:
339
341
  - test/dummy/log/pgq_issues,cleanup.log
340
342
  - test/dummy/log/development.log
341
343
  - test/dummy/log/pgqadm_development.log
344
+ - test/dummy/log/pgq_places.log
342
345
  - test/dummy/log/pgq_places,cleanup.log
346
+ - test/dummy/log/test.log
343
347
  - test/dummy/log/pgq_places,issues.log
344
348
  - test/dummy/log/pgqadm_development2.log
345
349
  - test/dummy/public/favicon.ico