~bigbes/core-go

ref: e5f2298c10a2bb284b9fa5f134135d1c1d0c9f93 core-go/server/server.go -rw-r--r-- 7.6 KiB
48250772 — Simon Ser 4 years ago
Remove %e formatting verbs

%e is not valid for formatting error values:

> %e	scientific notation, e.g. -1.234456e+78

Instead, use %w when using fmt.Errorf (for error wrapping) and
%v when using log.Printf (%w is not valid in that context).
5f76a1f4 — Drew DeVault 4 years ago
Enforce complexity limit on webhook payload
1371ba4b — Drew DeVault 4 years ago
Configure server to manage mail queue

This also sets up the recovery function for webhooks, so we get emailed
when we panic during a webhook query.
67ddd428 — Drew DeVault 5 years ago
server: add server reference to context
6bcaea61 — Drew DeVault 5 years ago
server: set max upload size to 1 GiB
5de4cd8e — Drew DeVault 5 years ago
Stash remote address in context
af2afebd — Drew DeVault 5 years ago
Add legacy webhooks worker implementation
14f4b921 — Drew DeVault 5 years ago
Expand context for work queues
5b2fce24 — Drew DeVault 5 years ago
server: use SO_REUSEADDR for main listener
f53a762c — Drew DeVault 5 years ago
server: add /query/api-meta.json, docs
e72ffa65 — Drew DeVault 5 years ago
server: incorporate queue management
789f4a81 — Drew DeVault 5 years ago
Simplify server module
0c651498 — Drew DeVault 5 years ago
Add email work queue
1d2a30cb — Drew DeVault 5 years ago
Import GQL server interfaces from gql.sr.ht