ちょっと増えた
流石にm5a.largeとかは個人だと高いからスポットじゃなくてオンデマンドでt3aを使ったほうがいいけどm3は捨てるに捨てれないのかカスみたいな値段で使えるから入れとくと安心
swarmのmanagerからpostgresのreplicaでバックアップを取るやつ https://github.com/mohemohe/mstdn.plusminus.io/blob/master/manage/postgres_backup.sh
ssh docker-swarm-worker-2 docker ps | grep sidekiq | awk '{print $1}' | xargs -I_ ssh docker-swarm-worker-2 docker stats _
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
996e846fdae1 mastodon_sidekiq.2.dpodwde51tj835bw9atpc8qjp 0.32% 451.2MiB / 1.947GiB 22.64% 10.9GB / 8.62GB 798MB / 1.82GB 34
このアカウントは、notestockで公開設定になっていません。
interface IAuthResponse {
token: string;
}
@TestCase(() => ({token: "invalid"}), () => domain, false)
@TestCase(() => user, () => ({}), false)
public async getDomainAsync(user: () => IAuthResponse, domain: () => any, expect: boolean) {
const response = await fetch(`${baseUrl}/api/v3/domains/${domain().id}`, {
headers: {
Authorization: `bearer ${user().token}`
}
});
2つ目の第一引数がuserの時に`user().token`にアクセスするとTypeError: domain.enter is not a functionになって死ぬのが謎
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
@uzuky :_____oru::_____xua::_____aa::_____aa::_____aa::_____aa::_____aa::_____aa::_____aa::_____aa::_____aa::_____aa::_____aa::_____aa::_____aa::_____ware::_____xew::_____ww::_____ww::_____ww::_____ww::_____ww::_____ware::_____xee::_____ee::_____ee::_____ee::_____ee::_____ew::_____ww::_____ww::_____ww::_____ww::_____wti::_____rinn::_____tiri::_____nnti::_____rinn::_____tiri::_____nnti::_____rinn::_____tiri::_____nnti::_____rinn::_____tiri::_____nnt
ブログを書きました: mgoでReplSetに対してcollectionを作成できなかった https://mohemohe.dev/entry/5d4b0388c45e5b0001d2a9aa
masterの.layout-single-columnに対応してマルチカラムに切り替えても破綻しなくなった https://github.com/mohemohe/slack-like-mastodon/tree/develop
@uzuky :_____oru::_____xua::_____aa::_____aa::_____aa::_____aa::_____aa::_____aa::_____aa::_____aa::_____aa::_____aa::_____aa::_____aa::_____aa::_____ware::_____xew::_____ww::_____ww::_____ww::_____ww::_____ww::_____ware::_____xee::_____ee::_____ee::_____ee::_____ee::_____ew::_____ww::_____ww::_____ww::_____ww::_____wti::_____rinn::_____tiri::_____nnti::_____rinn::_____tiri::_____nnti::_____rinn::_____tiri::_____nnti::_____rinn::_____tiri::_____nnt