起きましたどん
Merged tootsuite/mastodon at dd5cb5085c35516163c7cce1289c4bd81c936a28.
This triggered two migratinos:
20170905044538 AddIndexIdAccountIdActivityTypeOnNotifications:
add_index(:notifications, [:id, :account_id, :activity_type], {:order=>{:id=>:desc}})
20170905165803 AddLocalToStatuses:
add_column(:statuses, :local, :boolean, {:null=>true, :default=>false})
このアカウントは、notestockで公開設定になっていません。
ほむ
$ heroku run bash
~ $ rake mastodon:maintenance:remove_deprecated_preview_cards
Delete records and associated files from deprecated preview cards? [y/N]:
y
[paperclip] deleting /preview_cards/images/000/000/001/original/24979032
:
だばー (ログとっておけばよかったw
:
[paperclip] deleting /preview_cards/images/000/014/407/original/184731
Drop deprecated preview cards table? [y/N]:
-- drop_table(:deprecated_preview_cards)
-> 0.0953s
~ $
メモリは150 MBくらい、load avgは0.25くらい
$ heroku pg:info
=== DATABASE_URL, PG_HOBBY_BASIC_URL
Plan: Hobby-basic
Status: Available
Connections: 7/20
PG Version: 9.6.1
Created: 2017-04-20 18:31 UTC
Data Size: 220.3 MB
Tables: 33
Rows: 441691/10000000 (In compliance)
右上のかぎしっぽが mastodon:maintenance:remove_deprecated_preview_cards の効果ですね https://mastodon.zunda.ninja/media/VfzjQxXXwBGUtP0i3gE
https://mastodon.zunda.ninja/@zundan からはS3のファイルのURLにじかにリクエストが行くねい
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
js難しいなあ…(この変更とスクロール位置のロックが結びつかない) -- fix scroll position (#4821) · tootsuite/mastodon@1646f62 · GitHub https://github.com/tootsuite/mastodon/commit/1646f622a53f0308738c7927ebaaf8d216b69f3e
このアカウントは、notestockで公開設定になっていません。
1.6.0rc2と1.6.0rc3との違いはデータベースのマイグレーションのみのようです。 https://mastodon.social/@Gargron/17190421
これでテーブルロックがなくなるんだねえ
$ git diff v1.6.0rc2...v1.6.0rc3
:
--- a/db/migrate/20170905165803_add_local_to_statuses.rb
+++ b/db/migrate/20170905165803_add_local_to_statuses.rb
@@ -1,5 +1,5 @@
class AddLocalToStatuses < ActiveRecord::Migration[5.1]
def change
- add_column :statuses, :local, :boolean, null: true, default: false
+ add_column :statuses, :local, :boolean, null: true, default: nil
end
end
:
このアカウントは、notestockで公開設定になっていません。
TLS 1.0のサポートがない状態でTLS 1.1の有無で見られたり見られなかったりするクライアントがあったような気がするんだけど何だっけな…
mastodon:maintenance:remove_deprecated_preview_cardsでS3にたっくさんリクエストが行ったはずなので今月の請求がどうなるか楽しみ。消すリクエストは数えられないような気もする。