mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-29 10:04:41 +01:00
23149c3daa
We promised we'd be waiting up to 20 seconds, but were only waiting for 10. Fix that by bumping to the documented 20.
15 lines
245 B
Python
Executable File
15 lines
245 B
Python
Executable File
#!/usr/bin/env python3
|
|
from lightning import Plugin
|
|
import time
|
|
|
|
plugin = Plugin()
|
|
|
|
|
|
@plugin.init()
|
|
def init(options, configuration, plugin):
|
|
plugin.log("slow_init.py initializing {}".format(configuration))
|
|
time.sleep(21)
|
|
|
|
|
|
plugin.run()
|