mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 11:37:46 +02:00
feat(import): run podcast imports' processes asynchronously using tasks
- use codeigniter4/tasks project to handle cron tasks - use yassinedoghri/podcast-feed project to parse feeds for imports
This commit is contained in:
parent
85505d4b31
commit
d8e1d4031d
106 changed files with 1805 additions and 1097 deletions
|
|
@ -177,18 +177,6 @@ class PlatformModel extends Model
|
|||
->insertBatch($podcastsPlatformsData);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed[] $podcastsPlatformsData
|
||||
*/
|
||||
public function createPodcastPlatforms(int $podcastId, array $podcastsPlatformsData): int | false
|
||||
{
|
||||
$this->clearCache($podcastId);
|
||||
|
||||
return $this->db
|
||||
->table('podcasts_platforms')
|
||||
->insertBatch($podcastsPlatformsData);
|
||||
}
|
||||
|
||||
public function removePodcastPlatform(int $podcastId, string $platformSlug): bool | string
|
||||
{
|
||||
$this->clearCache($podcastId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue