with concurrent.futures.ThreadPoolExecutor(max_workers=1) as executor:
future = executor.submit(send_slack_message, param1, param2, param3)
logging.warning("Slack message sent")
You received this message because you are subscribed to the Google Groups "PyWeb-IL" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyweb-il+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyweb-il/CABJrdTJLDp3CNHjcbjGgyXDzGS8ufQuspxX%2BPpK%2BvTU4ou_JqQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyweb-il/CANXboVb4yTg_tonhSb39yRy%3Df5NB%2B25y6%2BQH%3Dw%3DJv7Qb%2Bzy9wA%40mail.gmail.com.