Created
August 9, 2024 18:35
-
-
Save iamtalhaasghar/4eebd3cafd82297e862fcddb6c8f84a1 to your computer and use it in GitHub Desktop.
map directive not found while enabling sliding sync for synapse matrix server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import time | |
import shutil | |
path = '/path/to/file' | |
dst = '/path/to/dst' | |
while True: | |
time.sleep(10/1000) # 10 milli seconds | |
if os.path.exists(path): | |
shutil.copy(path, dst) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@kashif-liaqat @kashif-umair