bug fix
This commit is contained in:
parent
4a9ebf55ce
commit
c7e3f0ac7b
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ traceback.json
|
|||||||
test.py
|
test.py
|
||||||
tmp
|
tmp
|
||||||
tmp/*
|
tmp/*
|
||||||
|
testfiles/*
|
@ -12,7 +12,7 @@ RUN apt-get update && \
|
|||||||
COPY ./requirements.txt /app/requirements.txt
|
COPY ./requirements.txt /app/requirements.txt
|
||||||
COPY ./ffmpeg_python-0.2.0-py3-none-any.whl /app/ffmpeg_python-0.2.0-py3-none-any.whl
|
COPY ./ffmpeg_python-0.2.0-py3-none-any.whl /app/ffmpeg_python-0.2.0-py3-none-any.whl
|
||||||
|
|
||||||
RUN pip3 install -r /app/requirements.txt
|
|
||||||
RUN pip3 install ffmpeg_python-0.2.0-py3-none-any.whl
|
RUN pip3 install ffmpeg_python-0.2.0-py3-none-any.whl
|
||||||
|
RUN pip3 install -r /app/requirements.txt
|
||||||
|
|
||||||
EXPOSE 50051
|
EXPOSE 50051
|
@ -16,6 +16,7 @@ grpclog = logging.getLogger("grpc")
|
|||||||
grpclog.setLevel(level=logging.INFO)
|
grpclog.setLevel(level=logging.INFO)
|
||||||
|
|
||||||
# call account info / login
|
# call account info / login
|
||||||
|
# may race condition
|
||||||
cache_accinfo = TTLCache(maxsize=1, ttl=GRPC_ACCINFO_CACHE)
|
cache_accinfo = TTLCache(maxsize=1, ttl=GRPC_ACCINFO_CACHE)
|
||||||
@cached(cache_accinfo)
|
@cached(cache_accinfo)
|
||||||
def call_IG_account_info():
|
def call_IG_account_info():
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
moviepy==1.0.3
|
||||||
instagrapi
|
instagrapi
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
sqlalchemy_utils
|
sqlalchemy_utils
|
||||||
|
Loading…
Reference in New Issue
Block a user