Skip to content

Commit ad8532f

Browse files
authored
Merge pull request #3066 from gregorianrants/source-2
Update part3b.md
2 parents 6482347 + 6e4949b commit ad8532f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/3/en/part3b.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ fly open
179179

180180
A particularly important command is _fly logs_. This command can be used to view server logs. It is best to keep logs always visible!
181181

182+
**Note:** If you are using Fly.io, Fly may create 2 machines for your app, if it does then the state of the data in your app will be inconsistent between requests, i.e. you would have two machines each with there own notes variable, you could POST to one machine then your next GET could go to another. you can check the number of machines by using the command "$ fly scale show", if the COUNT is greater than 1 then you can enforce it to be 1 with the command "$ fly scale count 1". The machine count can also be checked on the dashboard.
183+
182184
**Note:** In some cases (the cause is so far unknown) running Fly.io commands especially on Windows WSL has caused problems. If the following command just hangs
183185

184186
```bash

0 commit comments

Comments
 (0)