Raise the data limit, add a dtach(1) note

Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
このコミットが含まれているのは:
Izuru Yakumo 2023-06-13 23:19:27 -03:00
コミット a9077fb3a1
3個のファイルの変更4行の追加4行の削除

ファイルの表示

@ -14,4 +14,6 @@ XMPP bot to preview links and file contents. Shikigami of the Shikigami of the G
and run it with =python3.8+=
#+BEGIN_QUOTE
$ python main.py
or
$ dtach -n /tmp/chen.sock python3 main.py
#+END_QUOTE

ファイルの表示

@ -2,5 +2,4 @@
jid = chen@example.com
password = b0TPA55W0rD
nick = Chen
autojoin = room1@muc.example.com room2@muc.example.com room3@muc.example.com
upload_data_size = 100000000
autojoin = room1@muc.example.com room2@muc.example.com room3@muc.example.com

ファイルの表示

@ -17,7 +17,7 @@ parser = "html.parser"
user_agent = "Mozilla/5.0 (X11; Linux x86_64; rv:10.0)"
" Gecko/20100101 Firefox/10.0"
accept_lang = "en-US"
data_limit = upload_data_size # 100MB
data_limit = 786400000
headers = {
"user-agent": user_agent,
@ -225,7 +225,6 @@ if __name__ == "__main__":
password = config["chen"]["password"]
nick = config["chen"]["nick"]
autojoin = config["chen"]["autojoin"].split()
upload_data_size = config["chen"]["upload_data_size"]
bot = ChenBot(jid, password, nick, autojoin=autojoin)
bot.connect()