Fork me on GitHub
#onyx
<
2017-11-04
>
sparkofreason20:11:28

Can you define more than one trigger for a window?

lucasbradstreet20:11:38

@dave.dixon yes, but bear in mind that any eviction policies for each trigger will interact with the window state, so if one of your triggers evicts the state, the other one won’t see it if it fires afterwards

sparkofreason20:11:14

Hmmm, I have :trigger/post-evictor [:none]. Trying to do different :trigger/emit for different predicates, but only one predicate seems to get called.

lucasbradstreet20:11:38

Hmm, can you quickly check whether the job was killed via onyx.log? I am running out for a bit but I can check it out when I’m back. Which trigger types are you using?

sparkofreason20:11:37

I'm running with the local runtime, :trigger/on :onyx.triggers/punctuation

lucasbradstreet20:11:37

Ok thanks, just to confirm, you’re using two punctuation triggers.