Increase move notificatino delay, decrease creation notification delay, and surround username in quotes for ssh config
This commit is contained in:
parent
8b13802918
commit
2bd03144da
@ -24,9 +24,9 @@ config :chessh, Web,
|
|||||||
discord_scope: "identify"
|
discord_scope: "identify"
|
||||||
|
|
||||||
config :chessh, DiscordNotifications,
|
config :chessh, DiscordNotifications,
|
||||||
game_move_notif_delay_ms: 10 * 1000,
|
game_move_notif_delay_ms: 20 * 1000,
|
||||||
game_created_notif_delay_ms: 10 * 1000,
|
game_created_notif_delay_ms: 5 * 1000,
|
||||||
reschedule_delay: 5 * 1000
|
reschedule_delay: 3 * 1000
|
||||||
|
|
||||||
config :joken, default_signer: "secret"
|
config :joken, default_signer: "secret"
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ export const Home = () => {
|
|||||||
const sshConfig = `Host chessh
|
const sshConfig = `Host chessh
|
||||||
Hostname ${process.env.REACT_APP_SSH_SERVER}
|
Hostname ${process.env.REACT_APP_SSH_SERVER}
|
||||||
Port ${process.env.REACT_APP_SSH_PORT}
|
Port ${process.env.REACT_APP_SSH_PORT}
|
||||||
User ${player?.username}
|
User "${player?.username}"
|
||||||
PubkeyAuthentication yes`;
|
PubkeyAuthentication yes`;
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
@ -165,6 +165,11 @@ defmodule Chessh.DiscordNotifier do
|
|||||||
make_discord_api_call(:put, 'channels/#{thread_id}/thread-members/#{id}')
|
make_discord_api_call(:put, 'channels/#{thread_id}/thread-members/#{id}')
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
post_discord(
|
||||||
|
thread_id,
|
||||||
|
"This private thread is used to communicate move notifications. It will be destroyed on game end."
|
||||||
|
)
|
||||||
|
|
||||||
thread_id
|
thread_id
|
||||||
|
|
||||||
_ ->
|
_ ->
|
||||||
|
Loading…
Reference in New Issue
Block a user