g1t

syntaqx/g1t

public

Git for AI scale: a forge for thousands of agents working on the same code at once.

g1t/services/events/wrangler.jsonc

29 lines993 bytes
{
	"$schema": "../../node_modules/wrangler/config-schema.json",
	"name": "g1t-events",
	"account_id": "1e6f2cffa3f445920836e8ebe446bb58",
	"compatibility_date": "2026-09-26",
	"main": "build/index.js",
	"build": { "command": "cargo install -q worker-build@0.8.7 && worker-build --release" },
	"workers_dev": false,
	"d1_databases": [
		{
			"binding": "DB",
			"database_name": "g1t-events",
			"database_id": "dd889749-0d01-4c94-8b9b-d789dec1c0e4",
			"migrations_dir": "migrations"
		}
	],
	"queues": {
		"producers": [
			{ "binding": "BUS", "queue": "g1t-events" },
			// One queue per subscribing service, so each consumes, retries
			// and scales on its own. Bindings named SUBSCRIBER_* receive
			// every event.
			{ "binding": "SUBSCRIBER_WORK", "queue": "g1t-events-work" },
			{ "binding": "SUBSCRIBER_RUNNER", "queue": "g1t-events-runner" }
		],
		"consumers": [{ "queue": "g1t-events", "max_batch_size": 100, "max_batch_timeout": 1 }]
	},
	"observability": { "enabled": true }
}