mirror of https://github.com/matrix-org/go-neb.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tree:
2d6b3cd6e9
anoa/go1.11
anoadragon453-patch-1
dependabot/go_modules/github.com/prometheus/client_golang-1.11.1
dependabot/go_modules/golang.org/x/net-0.7.0
dependabot/go_modules/golang.org/x/sys-0.1.0
feature-slack-api
gh-pages
hs/check-pls
hs/discontinued
hs/remove-rss-url-metric
hs/search-usage
kegan/all-the-docs
kegan/auth
kegan/auth-realms
kegan/auth-session
kegan/auth-session-api-tweak
kegan/base64-paths
kegan/better-gh-cmd-regex
kegan/bot-options
kegan/cache-rss-feeds
kegan/case-insensitive-commands
kegan/config-yaml
kegan/configure-client-name
kegan/create-with-json
kegan/database-is-locked
kegan/db-interface
kegan/docs-services
kegan/dots-in-repos
kegan/expand-with-groups
kegan/fail-if-bad-user
kegan/feed-leak
kegan/feedreader
kegan/feedreader-struct
kegan/finer-gh-controls
kegan/fix-log-field-names
kegan/get-service
kegan/get-session
kegan/gh-explicit-unregister-webhooks
kegan/gh-help
kegan/gh-logout
kegan/gh-no-webhooks-means-no-service
kegan/gh-service-client-id-is-opt
kegan/giphy
kegan/giphy-translate-api
kegan/github
kegan/github-auth
kegan/github-cmd-expan-service
kegan/github-cmds
kegan/github-join-room-on-register
kegan/github-make-webhooks-on-register
kegan/github-mutex-on-register
kegan/github-possible-repos
kegan/github-remove-hooks-on-webhook-event
kegan/github-say-which-labels
kegan/github-service
kegan/github-starter-links
kegan/github-webhook
kegan/github-webhook-creation
kegan/gomatrix
kegan/guggy-tests
kegan/httpcache-update
kegan/ignore-events-on-join
kegan/jira-auth
kegan/jira-auth-sessions
kegan/jira-commands
kegan/jira-expansion
kegan/jira-realm
kegan/jira-redirect
kegan/jira-starter-links
kegan/jira-webhook-2
kegan/jira-webhooks
kegan/jsonresponse
kegan/logging
kegan/matrix-org-util
kegan/metrics
kegan/min-guid-length
kegan/move-handlers
kegan/neb-metrics
kegan/per-service-poll
kegan/persist-next-batch
kegan/readme-to-docs
kegan/realm-docs
kegan/redirect
kegan/remove-docs-from-readme
kegan/remove-plugin
kegan/rm-3pauth
kegan/rss
kegan/rss-dont-replace-if-no-guids
kegan/rss-escape-entities
kegan/rss-guids
kegan/rss-limits
kegan/rss-no-cache
kegan/rss-notify-on-failures
kegan/rss-user-agent
kegan/rssbot
kegan/service-docs
kegan/service-isolation
kegan/shut-up-golint
kegan/smart-quotes
kegan/split-gh-service
kegan/sync-on-startup
kegan/tests
kegan/tests-prep
kegan/testutils
kegan/text-logging
kegan/travis
kegan/webhook-endpoint-fn
kegan/webhook-path-as-id
kegan/webhooks
luke/guggy
master
michaelkaye/log_alertmanager_errors
michaelkaye/respect_rate_limits
michaelkaye/upgrade-go
rob/docker
rxl881/google
rxl881/riotbot
t3chguy/github_regex_tweaks
t3chguy/google_safe_search
tadzik/fix-ci
0.1.0
0.1.1
0.1.2
${ noResults }
go-neb/hooks
Kegan Dougal
2d6b3cd6e9
Just need to send messages into rooms now for a first cut to be done. Notable improvements to make: - We currently do 1 goroutine per service. This could be bad if we have lots of these things running around. - We do not cache the response to RSS feeds. If we have 10 independent services on the same feed URL, we will hit the URL 10 times. This is similar to how we currently do 1 webhook/service, so it's plausible that in the future we will want to have some kind of generic caching layer. - We don't send messages to Matrix yet. We need a `Clients` instance but can't get at one. There's only ever one, so I wonder if we should global it like we do with `GetServiceDB()` for ease of use? - The polling interval is divorced from the actual feed repoll time. Ideally we would schedule the goroutine only when we need it, rather than checking frequently, determining we have nothing to do, and going back to sleep. |
8 years ago | |
---|---|---|
.. | ||
install.sh | Add the pre-commit hooks and development instructions | 9 years ago |
pre-commit | Add the pre-commit hooks and development instructions | 9 years ago |