Skip to content

Commit 9b064e9

Browse files
authored
README and default limits (bluesky-social#332)
* README: update default blob size limit * ensure rate-limit and invite required flag are default true
1 parent b0e5e7e commit 9b064e9

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ sudo pdsadmin update
337337
| `PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX` | None |
338338
| `PDS_DATA_DIRECTORY` | `/pds` |
339339
| `PDS_BLOBSTORE_DISK_LOCATION` | `/pds/blocks` |
340-
| `PDS_BLOB_UPLOAD_LIMIT` | `5242880` (5MB) |
340+
| `PDS_BLOB_UPLOAD_LIMIT` | `104857600` (100MB) |
341341
| `PDS_DID_PLC_URL` | `https://plc.directory` |
342342
| `PDS_BSKY_APP_VIEW_URL` | `https://api.bsky.app` |
343343
| `PDS_BSKY_APP_VIEW_DID` | `did:web:api.bsky.app` |
@@ -351,6 +351,7 @@ sudo pdsadmin update
351351
| `PDS_PRIVACY_POLICY_URL` | None |
352352
| `PDS_TERMS_OF_SERVICE_URL` | None |
353353
| `PDS_RATE_LIMITS_ENABLED` | `true` |
354+
| `PDS_INVITE_REQUIRED` | `true` |
354355

355356
### Migrating your PDS
356357

sample.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,7 @@ PDS_REPORT_SERVICE_URL=https://mod.bsky.app
1212
PDS_REPORT_SERVICE_DID=did:plc:ar7c4by46qjdydhdevvrndac
1313
PDS_CRAWLERS=https://bsky.network
1414
LOG_ENABLED=true
15+
PDS_RATE_LIMITS_ENABLED=true
16+
PDS_INVITE_REQUIRED=true
1517
PDS_EMAIL_SMTP_URL=
1618
PDS_EMAIL_FROM_ADDRESS=

0 commit comments

Comments
 (0)