mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 22:11:36 -05:00
filter esms in sqs poller (#447)
This commit is contained in:
1 parent
ecfef11b2f
commit
bf67c61d60
1 file changed
+1
-1
@@ -73,7 +73,7 @@ public class SqsEventSourcePoller {
|
||||
void init() {
|
||||
List<EventSourceMapping> esms = esmStore.list();
|
||||
for (EventSourceMapping esm : esms) {
|
||||
if (esm.isEnabled()) {
|
||||
if (esm.isEnabled() && esm.getEventSourceArn().contains(":sqs:")) {
|
||||
startPolling(esm);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user