Skip to content

Instantly share code, notes, and snippets.

@manuels
Created September 27, 2011 22:02
Show Gist options
  • Save manuels/1246391 to your computer and use it in GitHub Desktop.
Save manuels/1246391 to your computer and use it in GitHub Desktop.
log on master-version when receiving a photo-only post from the disinherit-photos-version
Started POST "/receive/users/909b3184e114a37e/" for 127.0.0.1 at Mon Oct 10 21:46:10 +0200 2011 pid=32321 time=1318275970
SQL (0.2ms) BEGIN pid=32321 time=1318275971
SQL (0.2ms) COMMIT pid=32321 time=1318275971
Processing by PublicsController#receive as pid=32321 time=1318275971
Parameters: {"xml"=>"[FILTERED]", "guid"=>"909b3184e114a37e"} pid=32321 time=1318275971
SQL (1.1ms) SHOW TABLES pid=32321 time=1318275971
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE `people`.`guid` = '909b3184e114a37e' LIMIT 1 pid=32321 time=1318275972
User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 3 LIMIT 1 pid=32321 time=1318275972
Rendered text template (0.0ms) pid=32321 time=1318275972
Completed 202 Accepted in 661ms (Views: 2.8ms | ActiveRecord: 2.0ms) pid=32321 time=1318275972
User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 3 LIMIT 1 pid=992 time=1318275976
Person Load (0.3ms) SELECT `people`.* FROM `people` WHERE (`people`.owner_id = 3) LIMIT 1 pid=992 time=1318275976
event=webfinger status=initialized target=alice@localhost:3000 pid=992 time=1318275976
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE `people`.`diaspora_handle` = 'alice@localhost:3000' LIMIT 1 pid=992 time=1318275976
Profile Load (0.3ms) SELECT `profiles`.* FROM `profiles` WHERE (`profiles`.person_id = 32) LIMIT 1 pid=992 time=1318275976
event=webfinger status=success route=local target=alice@localhost:3000 pid=992 time=1318275976
event=receive status=start recipient=alice@localhost:3001 payload_type=NilClass sender=alice@localhost:3000 xml= <XML>
<post><status_message>
<raw_message></raw_message>
<guid>0ffd9363290921a6</guid>
<diaspora_handle>alice@localhost:3000</diaspora_handle>
<public>false</public>
<created_at>2011-10-10 19:46:03 UTC</created_at>
</status_message></post>
</XML>
pid=992 time=1318275976
SQL (1.2ms) SHOW TABLES pid=992 time=1318275977
Person Load (0.3ms) SELECT `people`.* FROM `people` WHERE `people`.`diaspora_handle` = 'alice@localhost:3000' LIMIT 1 pid=992 time=1318275978
event=receive status=start recipient=alice@localhost:3001 payload_type=StatusMessage sender=alice@localhost:3000 pid=992 time=1318275978
Contact Load (0.6ms) SELECT `contacts`.* FROM `contacts` WHERE `contacts`.`person_id` = 32 AND `contacts`.`user_id` = 3 LIMIT 1 pid=992 time=1318275978
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE (`people`.`id` = 32) pid=992 time=1318275978
Profile Load (0.2ms) SELECT `profiles`.* FROM `profiles` WHERE (`profiles`.person_id = 32) pid=992 time=1318275978
SQL (0.2ms) BEGIN pid=992 time=1318275978
StatusMessage Load (0.6ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`type` = 'StatusMessage' AND `posts`.`guid` = '0ffd9363290921a6' LIMIT 1 pid=992 time=1318275978
SQL (0.6ms) SELECT 1 FROM `posts` WHERE (`posts`.`guid` = BINARY '0ffd9363290921a6') LIMIT 1 pid=992 time=1318275978
event=receive payload_type=StatusMessage update=false status=abort sender=alice@localhost:3000 reason=Status message requires a message or at least one photo pid=992 time=1318275978
SQL (0.2ms) COMMIT pid=992 time=1318275978
event=receive status=complete recipient=alice@localhost:3001 sender=alice@localhost:3000 payload_type=String pid=992 time=1318275978
event=resque_job job=Jobs::ReceiveEncryptedSalmon ms=2491.73402786255 arg1="3" arg2=" <?xml version='1.0' encodin" status=complete pid=992 time=1318275978
Started POST "/receive/users/909b3184e114a37e/" for 127.0.0.1 at Mon Oct 10 21:46:23 +0200 2011 pid=32321 time=1318275983
SQL (0.2ms) BEGIN pid=32321 time=1318275984
SQL (0.2ms) COMMIT pid=32321 time=1318275984
Processing by PublicsController#receive as pid=32321 time=1318275984
Parameters: {"xml"=>"[FILTERED]", "guid"=>"909b3184e114a37e"} pid=32321 time=1318275984
SQL (1.1ms) SHOW TABLES pid=32321 time=1318275984
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE `people`.`guid` = '909b3184e114a37e' LIMIT 1 pid=32321 time=1318275984
User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 3 LIMIT 1 pid=32321 time=1318275984
Rendered text template (0.0ms) pid=32321 time=1318275985
Completed 202 Accepted in 624ms (Views: 2.7ms | ActiveRecord: 2.0ms) pid=32321 time=1318275985
User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 3 LIMIT 1 pid=995 time=1318275989
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE (`people`.owner_id = 3) LIMIT 1 pid=995 time=1318275989
event=webfinger status=initialized target=alice@localhost:3000 pid=995 time=1318275989
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE `people`.`diaspora_handle` = 'alice@localhost:3000' LIMIT 1 pid=995 time=1318275989
Profile Load (0.3ms) SELECT `profiles`.* FROM `profiles` WHERE (`profiles`.person_id = 32) LIMIT 1 pid=995 time=1318275989
event=webfinger status=success route=local target=alice@localhost:3000 pid=995 time=1318275989
event=receive status=start recipient=alice@localhost:3001 payload_type=NilClass sender=alice@localhost:3000 xml= <XML>
<post><photo>
<guid>cf38d29ae8d07fc8</guid>
<diaspora_handle>alice@localhost:3000</diaspora_handle>
<public>false</public>
<created_at>2011-10-10 19:45:54 UTC</created_at>
<remote_photo_path>http://localhost:3000/uploads/images/</remote_photo_path>
<remote_photo_name>6f6b8f14c10c589780ac.jpg</remote_photo_name>
<status_message_guid>0ffd9363290921a6</status_message_guid>
</photo></post>
</XML>
pid=995 time=1318275989
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE `people`.`diaspora_handle` = 'alice@localhost:3000' LIMIT 1 pid=995 time=1318275989
event=receive status=start recipient=alice@localhost:3001 payload_type=Photo sender=alice@localhost:3000 pid=995 time=1318275989
Contact Load (0.2ms) SELECT `contacts`.* FROM `contacts` WHERE `contacts`.`person_id` = 32 AND `contacts`.`user_id` = 3 LIMIT 1 pid=995 time=1318275989
Person Load (0.2ms) SELECT `people`.* FROM `people` WHERE (`people`.`id` = 32) pid=995 time=1318275989
Profile Load (0.2ms) SELECT `profiles`.* FROM `profiles` WHERE (`profiles`.person_id = 32) pid=995 time=1318275989
SQL (0.2ms) BEGIN pid=995 time=1318275989
Photo Load (0.6ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`type` = 'Photo' AND `posts`.`guid` = 'cf38d29ae8d07fc8' LIMIT 1 pid=995 time=1318275989
SQL (0.7ms) SELECT 1 FROM `posts` WHERE (`posts`.`guid` = BINARY 'cf38d29ae8d07fc8') LIMIT 1 pid=995 time=1318275989
SQL (1.2ms) SHOW TABLES pid=995 time=1318275989
StatusMessage Load (0.8ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`type` = 'StatusMessage' AND `posts`.`guid` = '0ffd9363290921a6' LIMIT 1 pid=995 time=1318275991
SQL (2.0ms) describe `posts` pid=995 time=1318275991
AREL (0.7ms) INSERT INTO `posts` (`root_guid`, `random_string`, `unprocessed_image`, `remote_photo_path`, `created_at`, `author_id`, `type`, `comments_count`, `remote_photo_name`, `text`, `guid`, `actor_url`, `pending`, `image_height`, `diaspora_handle`, `object_url`, `image_width`, `public`, `youtube_titles`, `provider_display_name`, `processed_image`, `status_message_guid`, `updated_at`, `objectId`, `likes_count`, `image_url`) VALUES (NULL, NULL, NULL, 'http://localhost:3000/uploads/images/', '2011-10-10 19:45:54', 32, 'Photo', 0, '6f6b8f14c10c589780ac.jpg', NULL, 'cf38d29ae8d07fc8', NULL, 0, NULL, 'alice@localhost:3000', NULL, NULL, 0, NULL, NULL, NULL, '0ffd9363290921a6', '2011-10-10 19:46:31', NULL, 0, NULL) pid=995 time=1318275991
Contact Load (0.6ms) SELECT `contacts`.* FROM `contacts` WHERE `contacts`.`person_id` = 32 AND `contacts`.`user_id` = 3 LIMIT 1 pid=995 time=1318275991
Person Load (0.5ms) SELECT `people`.* FROM `people` WHERE (`people`.`id` = 32) pid=995 time=1318275991
Profile Load (0.2ms) SELECT `profiles`.* FROM `profiles` WHERE (`profiles`.person_id = 32) pid=995 time=1318275991
SQL (3.4ms) describe `post_visibilities` pid=995 time=1318275991
AREL (0.8ms) INSERT INTO `post_visibilities` (`hidden`, `updated_at`, `created_at`, `post_id`, `contact_id`) VALUES (0, '2011-10-10 19:46:31', '2011-10-10 19:46:31', 135, 7) pid=995 time=1318275991
Contact Load (2.5ms) SELECT `contacts`.* FROM `contacts` WHERE `contacts`.`person_id` = 32 AND `contacts`.`user_id` = 3 LIMIT 1 pid=995 time=1318275991
Person Load (1.5ms) SELECT `people`.* FROM `people` WHERE (`people`.`id` = 32) pid=995 time=1318275991
Profile Load (0.2ms) SELECT `profiles`.* FROM `profiles` WHERE (`profiles`.person_id = 32) pid=995 time=1318275991
event=receive payload_type=Photo update=false status=complete sender=alice@localhost:3000 pid=995 time=1318275991
SQL (135.6ms) COMMIT pid=995 time=1318275992
event=receive status=complete recipient=alice@localhost:3001 sender=alice@localhost:3000 payload_type=Photo pid=995 time=1318275992
event=resque_job job=Jobs::ReceiveEncryptedSalmon ms=2983.63709449768 arg1="3" arg2=" <?xml version='1.0' encodin" status=complete pid=995 time=1318275992
Photo Load (0.6ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`type` = 'Photo' AND `posts`.`id` = 135 LIMIT 1 pid=997 time=1318275992
SQL (0.2ms) BEGIN pid=997 time=1318275992
SQL (0.6ms) SELECT 1 FROM `posts` WHERE (`posts`.`guid` = BINARY 'cf38d29ae8d07fc8') AND (`posts`.id <> 135) LIMIT 1 pid=997 time=1318275992
SQL (1.2ms) SHOW TABLES pid=997 time=1318275992
StatusMessage Load (0.6ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`type` = 'StatusMessage' AND `posts`.`guid` = '0ffd9363290921a6' LIMIT 1 pid=997 time=1318275994
SQL (0.2ms) COMMIT pid=997 time=1318275994
event=resque_job job=Jobs::ProcessPhoto ms=2535.77899932861 arg1="135" status=complete pid=997 time=1318275994
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment